validation control final?
-
I am writing my first C# asp.net 2010 webform. I have so far used required and custom validators. However, is there something like a final validator or something that checks to make cerain all validators on a page indicate the user has entered all valid information on the page before procedding to the next page? If so can you tell me or point me to a link that will explain this process and how to 'wire together' all the controls?
-
I am writing my first C# asp.net 2010 webform. I have so far used required and custom validators. However, is there something like a final validator or something that checks to make cerain all validators on a page indicate the user has entered all valid information on the page before procedding to the next page? If so can you tell me or point me to a link that will explain this process and how to 'wire together' all the controls?
If your page contains several asp.net validators and when you click a submit button, all validators will be fired. The page will submitted only when each validator pass successfully. You can get details of asp.net validators from one of my article below Exploring ASP.NET Validators Do let me know in case of any confusion.
Cheers!! Brij Microsoft MVP ASP.NET/IIS Visit my Blog: http://brijbhushan.net