在ASP.Net Web应用程序中显示警告摘要 [英] Display Warning summary in ASP.Net web application

查看:92
本文介绍了在ASP.Net Web应用程序中显示警告摘要的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了带有15个控件的Asp.net网页注册表单。我必须检查所有这些控件的验证并显示警告摘要,如vs studio编译警告摘要。





这些应该只是警告不是错误,所以用户可以更正他们的警告并提交,否则用户可以提交而不会更正错误。



如果用户点击任何警告,控件将重点关注适当的控制。请帮我实现这个目标或者给出任何想法。



提前致谢。

I have created Asp.net web page registration form with 15 controls. I have to check validation for all these controls and display warning summary like vs studio compile warning summary.


These should be just warning not error, so user can correct their warning and submit or else user can submit without correcting error.

And if user click the any of the warning, the control will focus to appropriate controls. Please help me to achieve this or give any idea to do this.

Thanks in advance.

推荐答案

参考验证摘要



http://msdn.microsoft.com/en-IN/library/dd5c6s6h%28v=vs.71%29.aspx [< a href =http://msdn.microsoft.com/en-IN/library/dd5c6s6h%28v=vs.71%29.aspxtarget =_ blanktitle =New Window> ^ ]



http:// www。 codingfusion.com/Post/ValidationSummary-Example-in-asp-net [ ^ ]
Refer Validation Summary

http://msdn.microsoft.com/en-IN/library/dd5c6s6h%28v=vs.71%29.aspx[^]

http://www.codingfusion.com/Post/ValidationSummary-Example-in-asp-net[^]


这篇关于在ASP.Net Web应用程序中显示警告摘要的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆