验证摘要的问题在firefox,chrome中无效。 [英] problem with validation summary are not working in firefox,chrome.
本文介绍了验证摘要的问题在firefox,chrome中无效。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<asp:ValidationSummary ID="ValidationSummary1" ShowMessageBox="true" runat="server" Font-Names="Arail">
</asp:ValidationSummary>
此控制验证摘要不适用于chrome,firefox。
消息框不显示。
IN THIS control validation summary are not working in chrome,firefox.
message box does not display.
推荐答案
尝试使用如下所示的适当标签验证摘要。
Try to use the validation summary with proper tags like below.
<asp:validationsummary id="ValidationSummary" displaymode="BulletList" enableclientscript="true" headertext="Errors occured in the following fields:" runat="server"/>
并且全部放入此摘要下面的验证器..希望它能够工作。
and put all the validators below this summary.. than hope it gona work.
Use validation group:
<pre><asp:ValidationSummary ID="ValidationSummary1" ShowMessageBox="true" runat="server" ValidationGroup="Group" Font-Names="Arail"></pre>
Use this ValidationGroup="Group" on your all validation and also on button.
我猜消息框不要在asp中工作,在c#窗体中使用
你在asp中没有选择MessageBox(Message)
在其中使用头文件标签并列出错误使用项目符号形式
I guess the message box dont work in asp and it do in c# windows forms
You have no option of MessageBox("Message") in asp
Use a header tag in it and list the errors using Bulleted form
这篇关于验证摘要的问题在firefox,chrome中无效。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文