Scripts: C# :: Validation :: Library Article #12
Developer's Section
By: Erobo Team Member
|
||||||||
There is a way to fire the validators you create on your aspx page without triggering a postback. If you assign the validators to a Validation Group, then you can easily trigger an event that will fire each and everyone of the validators without submitting the page by using Page_ClientValidate('My Group'). Now, on the code Behind (myformExample.aspx.cs):
When the user hits submit the validators will be triggering one by one, causing the form data to be validated instantly. Good Luck!! |
||||||||
|
|
||||||||
|
the form below: |