Kae Travis

Detect if an ASP.Net form is Valid from Javascript

Posted on by in ASP.Net

We can detect if an ASP.Net form is valid from Javascript by using the following:

if (typeof (Page_ClientValidate) == 'function') {
Page_ClientValidate();
}
if (Page_IsValid) {
//form valid
}

 

Detect if an ASP.Net form is Valid from Javascript
Detect if an ASP.Net form is Valid from Javascript

Leave a Reply