【问题标题】:asp.net AJAX Modal Popup Extender - Cancel button doesn't work after postbackasp.net AJAX Modal Popup Extender - 回发后取消按钮不起作用
【发布时间】:2010-12-21 02:18:22
【问题描述】:

我的模态弹出扩展器“显示”的面板中有一个更新面板,用于处理验证。

但是,在回发之后,关闭按钮似乎不起作用。它只是关闭面板,但离开 modalBackground [灰色]。

<ajaxToolkit:ModalPopupExtender 
                        ID="ActivateModalDefault" 
                        runat="server" 
                        TargetControlID="btnRegister"
                        PopupControlID="pnlShowModal"
                        CancelControlID="CancelLinkButtonDefaultPage" 
                        BackgroundCssClass="modalBackground"> 
            </ajaxToolkit:ModalPopupExtender>

关于为什么会发生这种情况的任何想法?

【问题讨论】:

    标签: asp.net ajax modalpopupextender


    【解决方案1】:

    问题是,CancelLinkBut​​ton 也是在 jQuery 中连接的,因此导致了非常非常奇怪的行为

    【讨论】:

      【解决方案2】:

      如果正确实施,听起来不像是正常行为。您还有更多要添加到此 sn-p 的内容吗?

      【讨论】:

      • 您说得对,先生。问题是,CancelLinkBut​​ton 也在 jQuery 中连接,从而导致非常奇怪的行为
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-07-30
      • 2013-01-09
      • 1970-01-01
      • 1970-01-01
      • 2012-02-14
      • 2021-09-24
      • 1970-01-01
      相关资源
      最近更新 更多