Reputation: 4259
I would like to display the summary of validation in a validation summary with out displaying them in invidual validator means i would like to show only errors in Validation summary i don't want to show in any
Upvotes: 5
Views: 3385
Reputation: 5986
An alternative solution is to use both ErrorMessage and Text properties of the Validator controls.
This way you will have your validation descriptions (ErrorMessage) displayed at ValidationSummary control and a * (Text) displayed next to controls that failed validation.
Upvotes: 2
Reputation: 103348
Set display="none"
on your validation controls. This will hide the validation text for the individual validation controls.
Then give them all a validation group linked to a ValidationSummary
Upvotes: 8