Unable to get backgroundcssclass to work
Hello,
I have been trying to figure this out, but have been unsuccessful. I am using a modalPopupExtender, but when the popup comes up, my background is still active. I suspect it has to be something in my css file, but would appreciate some help on this. Here is the code for the MPE:
<cc1:ModalPopupExtender ID="MPE1" runat="server"
TargetControlID="btnShowModalPop"
PopupControlID="divPop"
BackgroundCssClass="modalBackground"
PopupDragHandleControlID="panelDragHandle"
DropShadow="true"/>
Here is the code in my css file:
.modalBackground {
background-color:Gray;
filter:alpha(opacity=70);
opacity:0.7;
}
.modalPop {
background-color:Gray;
border-width:3px;
border-style:solid;
border-color:Black;
padding:0;
width:250px;
color:White;
}
.drag
{
background-color:#ff0000;
cursor: move;
border: solid 2px white;
}
Any suggestions would be appreciated. TIA!
Just wondering, is BackgroundCssClass a supported attribute? Usually .NET server controls use the attribute "CssClass", not "BackgroundCssClass"...
For modalpopupextender it is supported. The naming is a bit inconsistent, I know.
http://www.asp.net/AJAX/AjaxControlT...odalPopup.aspx
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks