在Asp.net页面中加载ModalPopup Extender [英] Loading ModalPopup Extender in Asp.net Page
本文介绍了在Asp.net页面中加载ModalPopup Extender的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的应用程序中使用了Modal Pop-Up Extender.我正在使用Linkbtn加载该弹出窗口..当我单击它弹出JS文件中的异常时,显示为 MS JScript错误:必需对象,它指向此位置的代码,如图所示在下面..
----------------------------
Hi,
I am using a Modal Pop-Up Extender in my Application. i am loading that pop-up by using a Linkbtn.. when i am clicking it is raising exception in JS file as MS JScript Error: Object Required and it is pointing in the code at this Place as shown below..
----------------------------
this._backgroundElement.style.display = 'none';
this._foregroundElement.style.display = 'none';
-----------------------------------
在本期中,我需要任何人的帮助..............
-----------------------------------
In this issue, i need help from anyone........
推荐答案
您是否正在使用ajax控件工具包附带的Modal Popup Extender控件?
如果您是,请尝试使用以下javascript显示/隐藏它:
Are you using the Modal Popup Extender control that ships with the ajax control toolkit?
If you are, then try and show/hide it with the following javascript:
find(' MPEBehaviourID' span>).show();
find('MPEBehaviourID').show();
...并隐藏起来:
... and to hide it:
find(' MPEBehaviourID' span>).hide();
find('MPEBehaviourID').hide();
这篇关于在Asp.net页面中加载ModalPopup Extender的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文