What is the best way to determine if a form on an ASPX page is valid in JavaScript?
I am trying to check the validation of an user control that was opened using the JavaScript window.showModalDialog()
and checking the 'Page.IsValid' property on the server side does not work. I am using ASP.NET validation controls for page validation.