Asp net validating multiple groups
Hope this helps Cheers I'm pretty sure thats not a capability of the Validation Summary control. (I provide a utility to quickly convert a page from the original validators to mine.) I would go as far as to say that that is a flay in the Validation Summary control.
Your controls looks good and I'll give them a go but for a 00 I guess our customer will choose another solution. I guess you are looking at the Site License for Professional Validation And More Suite.
If the user is working with a browser that supports ECMAScript (Java Script), the validation controls can also perform validation using client script.
This can improve response time in the page because errors are detected immediately and error messages are displayed as soon as the user leaves the control containing the error. NET performs validation on the server even if the validation controls have already performed it on the client, so that you can test for validity within your server-based event handlers.
For example, you would test the state of the validation controls before updating a data record with information entered by the user.
If you detect an invalid state, you bypass the update.
which talks about validating Group1 and Group2 when user clicks "Submit" which is a good alternate solution.
If a validation error is detected in any of the input controls, the page itself is set to an invalid state so you can test for validity before your code runs.
Validation occurs after page initialization (that is, after view state and postback data have been processed) but before any change or click event handlers are called.
Other validation operations, such as displaying a method, can reference a specific validation group.
You can test the validation state of the page and of individual controls in your own code.
There are controls for different types of validation, such as range checking or pattern matching. Each validation control references an input control (a server control) elsewhere on the page.