ASP.NET calls WebForm_OnSubmit , which performs the validation. Once the validation is correct, continue it and run the rest of the JavaScript functions found in the onsubmit form.
So, to execute JavaScript after side validation, just put it in the form tag.
For example:
<script> function CallMeAfterValidation() { </script> <form onsubmit="return CallMeAfterValidation();" runat="server" ...></form>
Aristos
source share