title: Calling a javascript function after a server call in asp.net web forms
body: <p>Is there a way in web forms to call a javasctipt function after making a server call for example </p>
  
  <pre><code>function showAlert(){ 
     alert("hello");
  }
  
  
   &lt;asp:Button ID="callJavasctips" runat="server" Text="callJavasctipt" OnClick="callJavaSctipt_click" /&gt;  
  </code></pre>
  
  <p>In MVC I can say OnSuccess = "showAlert()" is there a way to do this in webforms?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I ended up using ScriptManager instead of Page.ClientScript because it didn't work with update panels.</p>