jvoconnell
asked on
Using Modal Popup Extender with Master Page
Experts,
I have a content page that uses a master page. A change needs to be made so that when a button on the content page is clicked a panel control (that had an AJAX modal popup control added) is displayed.
I am new to ASP.NET and cannot get this to work. I have been able to get this to work on a page that was not associated with a Master page. I'm not even sure where the Script Manager needs to be placed in this instance.
Any assistance is appreciated.
Thank you.
I have a content page that uses a master page. A change needs to be made so that when a button on the content page is clicked a panel control (that had an AJAX modal popup control added) is displayed.
I am new to ASP.NET and cannot get this to work. I have been able to get this to work on a page that was not associated with a Master page. I'm not even sure where the Script Manager needs to be placed in this instance.
Any assistance is appreciated.
Thank you.
put this in your master page header section:
<head runat="server">
<title>Untitled Page</title>
<style>
.modalBackground
{
background-color: Gray;
filter: alpha(opacity=70);
opacity: 0.7;
}
</style>
</head>
<head runat="server">
<title>Untitled Page</title>
<style>
.modalBackground
{
background-color: Gray;
filter: alpha(opacity=70);
opacity: 0.7;
}
</style>
</head>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
robbhill - This worked perfectly!!!! You really bailed me out. Thanks for the help. I appreciate it!
You would reference this on a content page as such in C#. I can convert this to vb is you need me to.
ScriptManager scriptManager = ScriptManager.GetCurrent(t
below is the code for the modal popup....replace your with your own if ya like.
Open in new window