Validation summary without other validations

I would like to display the validation summary in the validation summary without displaying them in the invidual validator means that I would like to show only errors in the validation summary that I don't want to show in any

+5
source share
2 answers

Set display="none"to validation controls. This will hide the validation text for individual validation items.

Then give them the entire verification group associated with ValidationSummary

+8
source

An alternative solution is to use the ErrorMessage and Text properties of the Validator controls.

  • Validator, (, ..), ValidationSummary - ValidationGroup.
  • * .
  • , ValidationSummary, Validators to ErrorMessage.

(ErrorMessage), ValidationSummary, * (), , .

+2

All Articles