开发者

Not show one validator in asp.net validationSummary

开发者 https://www.devze.com 2023-01-06 06:46 出处:网络
I have several asp.net validators. I want to show all(except one开发者_StackOverflow社区) error messages in validation summary.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号