To check all the controls meets the validation criteria

Posted by Virendradugar under JavaScript category on | Views : 1941
There is a function provided by ASP.NET 2.0 which checks for all the controls whether they meet the validation criteria or not. Or in other words, it checks whether all the validations done using ASP.NET Validation Controls are satisfied or not.

Function name : Page_ClientValidate()

It returns true or false.


function validate() //javascript function
var isPageValid = Page_ClientValidate();

Comments or Responses

Login to post response