Manually calling ASP.NET Validation with JavaScript
I put a version of this function on the OnClientClick event of a ASP.NET button control. The requirement I had was to find out how many validation controls fired, show a modal dialog and then set focus to the first Invliad Validator control. I left the modal dialog code out of this example as there [...]