开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜