模态弹出式验证摘要

编程入门 行业动态 更新时间:2024-10-24 18:21:31
本文介绍了模态弹出式验证摘要的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我添加了模态Poup控件以在单击按钮时显示vallidation摘要.弹出窗口正确显示,验证也正确检查. 问题是当所有验证码都正确时,弹出窗口正在显示.如果所有验证均正确,如何避免弹出窗口出现. 弹出div

Hi, I add modal poup control to display the vallidation summary on button click.The popup is comming correctly and the validations also checking correctly. The problem is while all the vallidations are correct the popup is showing.How to avoid the popup coming if all validation is correct. Popup div

<asp:Panel ID="errorsPanel" runat="server" Style="border-style: solid;border-width: medium; border-color: #FF7F50" Width="250px" Height="250px" BackColor="White"> <div style="text-align: left"> <asp:ValidationSummary ID="valSummary" runat="server" Font-Bold="true" DisplayMode="List" ShowSummary="true" ValidationGroup="vlICTCTransaction" /> <div style="text-align: right"> <asp:Button ID="okBtn" runat="server" Text="Ok" /> </div> </div> </asp:Panel> <ajaxToolkit:modalpopupextender ID="modalPopupEx" runat="server" PopupControlID="errorsPanel" TargetControlID="btnProcess" CancelControlID="okBtn" BackgroundCssClass="modalBackground"> </ajaxToolkit:modalpopupextender>

在控件验证中,我给出了Display ="None"和EnableClientScript ="true",因为我需要在客户端进行验证. 请帮忙 问候 Sreejith

In the control validationj i gave Display="None" and EnableClientScript="true",because I need the validation in client side. Please help Regards Sreejith

推荐答案

你好Sreejith, 在哪里调用模型弹出窗口? 在按钮中点击或其他 注意:对于验证摘要",无需使用任何弹出窗口,如果我们有任何验证警报,它将自动填充 Hello Sreejith, Where you call Model popup? in button click or something else Note: For Validation Summary no need to use any popups it will automatically populate if we have any validations alert

更多推荐

模态弹出式验证摘要

本文发布于:2023-08-06 04:45:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1310149.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:弹出式   摘要   模态

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!