I have a web page in C # ASP that when I press a button, it passes me to another page by calling a server method with onServerClick. I need to run a javascript on the page before executing the server method or that the screen does not refresh when I run the onServerClick server method (ajax style)