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