Javascript and ASP.NET 2.0: How do I know if a page is valid (after validation) in Javascript code on the client?

I need to know if all client side validator checks were successful or if one or more validators are invalid.

I suppose there should be a variable on the client side (for example, a copy of it on the page..IsValid on the server) that tells if the page is valid. I'm right?

Any ideas?

0


source to share


1 answer


On the client side, check the Page_IsValid global variable, more details here



+1


source







All Articles