modulepoup扩展器ajax [英] modulepoup extender ajax

查看:81
本文介绍了modulepoup扩展器ajax的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在关闭弹出窗口时使用modulepopup扩展器,它会产生以下错误


Microsoft JScript运行时错误:Sys.InvalidOperationException:未通过Sys.UI.DomEvent.addHandler方法添加处理程序.
给我解决方案

i use the modulepopup extender at time of close popup it gives the following error


Microsoft JScript runtime error: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method

give me the solution

推荐答案





请添加关闭按钮ID作为cancelcontrolid


Hi,



please add close button id as cancelcontrolid


<cc1:modalpopupextender id="ModalPopupExtenderNew" runat="server"

       cancelcontrolid="btnNewCancel"

       targetcontrolid="btnNew" popupcontrolid="NewPagerMsgPanel"

       backgroundcssclass="ModalPopupBG" BehaviorID="modalPopup-edit" >
  </cc1:modalpopupextender>


问候,
Shefeek


regards,
Shefeek


我认为模式中未指定取消或关闭控件ID,因此请添加它们.
i think that the cancel or close control id are not specified in the modal.So please add them.


这篇关于modulepoup扩展器ajax的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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