Not show one validator in asp.net validationSummary
I have several asp.net validators.
I want to show all(except one开发者_StackOverflow社区) error messages in validation summary. How can I not show the remaining one in validation summary but in other places?Could you put the one you don't want to show in a different ValidationGroup to the rest?
Use the Text property of the validator to show in the validator itself. The ErrorMessage property is what is displayed in the ValidationSummary
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.basevalidator.errormessage.aspx
精彩评论