We help IT Professionals succeed at work.

ModalPopupExtender only appearing in div

DTwined
DTwined asked
on
Hello -

I have a ModalPopupExtender control on my MasterPage that I am calling from a Content file. I am able to call the control but the ModalPopup only appears in the <div> where it is located on the Masterpage. How can I get it to appear over the entire window?

It worked perfectly before I started using it with the Masterpage.

ASP.NET 3.5

Here are the CSS tags I am using for the ModalPopUp control.

.button {
 border:solid 1px #c0c0c0;
 background-color:#eeeeee;
 font-family:verdana;
 font-size:11px;
}

.modalBg {
background-color:Gray;
filter:alpha(opacity=30);
opacity:0.4;
position:absolute;
z-index:10000000000;
}

.modalPanel {
background-color:#ffffff;
border-width:3px;
border-style:solid;
border-color:Gray;
padding:3px;
width:500px;
}


thanks,
DT
Comment
Watch Question

Commented:

Master page was missing this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">