The nuts-&-bolts of Client side Validation

Below is a collection of few tricks , which will help understand client side validation thoroughly.Each example explains relevant concept with a small and effective example.

Multiple UpdatePanels and Conditional Validation

Toggle Validators using ValidationGroup and set BackgroundColor of the Validation-failed control.

Change Validator’s ErrorMessage/Text ClientSide

Get All Validators For any control Clientside

Get Relevant Control’s values From Validator

Exclusive Conditional Validation

Using multiple active ValidationGroups at submit, on clientside.

Reset Validation Client side

Thanks for reading.
Happy Validating!!!

This entry was posted in General ASP.Net C#. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s