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
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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With