本文介绍了验证摘要的问题在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.

推荐答案

<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>&lt;asp:ValidationSummary ID="ValidationSummary1" ShowMessageBox="true" runat="server" ValidationGroup="Group" Font-Names="Arail"&gt;</pre>

Use this ValidationGroup="Group" on your all validation and also on button.



这篇关于验证摘要的问题在firefox,chrome中无效。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 23:18