Asp net validating multiple groups


which talks about validating Group1 and Group2 when user clicks "Submit" which is a good alternate solution . One submit button which triggers validation on both groups.

Summary I have a single control with two (almost) identical validators, each linked to two validation groups.

When the cursor leaves the control, both validators are automatically checked by ASP. Is there a way to only fire one (without setting controls to reflect these.

Validate("groupname") method for each group, but how can it be done client side?

The problem with CAbbott's answer is that validation errors that occur in the "parent" group will not be displayed after the call to validate the "child" group.

Validation groups allow you to organize validation controls on a page as a set.