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
}
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
}