title: call client side script(javascript,jquery etc.) from C# page methods
body: <p>i am using <a href="http://arshaw.com/fullcalendar/" rel="nofollow"><strong>fullcalendar</strong></a> with ASP.net(C#) in my web-application so i made use of <strong>PageMethods</strong> to achieve server side behavior for removing and updating an event on calendar. everything works fine when i try update and delete events, i used inline delete icon to delete the events from calendar so clicking on this image div causes the event to delete from database but the changes are not reflecting at the same time on calendar UI i mean i have to refresh the page and the removed event is gone. so now i am willing to call the following code from <strong>PageMethod</strong>.</p>
  
  <pre><code> $('#calendar').fullCalendar('removeEvents', $("#eventId").val());
  </code></pre>
  
  <p>Since PageMethodes are <strong>static</strong> so it does not let me call the above script using RegisterClientScriptBlock or something similar.</p>
  
  <p>Would anyone please help me to call the above script from an static PageMethod decorated with <em>WebMethod</em> attribute. if anything's not clear please let me know.</p>
  
  <p>Thanks!!!</p>