Click here to Skip to main content
15,901,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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..

----------------------------
C#
this._backgroundElement.style.display = 'none';
        this._foregroundElement.style.display = 'none';

-----------------------------------

In this issue, i need help from anyone........
Posted

1 solution

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:

JavaScript
$find('MPEBehaviourID').show();


... and to hide it:
JavaScript
$find('MPEBehaviourID').hide();
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900