I am using Opacity on my ModalPopUp that is in the MasterPage theme. I have about 60 pages and it works on all but 2 pages.
On those two pages it turns the background a solid grey instead of a opaque gray.
Here is what i have:
here is my modal settings
Any ideas?
- Matt
"If I must boast, I will boast of the things that show my weakness"
- Windows 2003 Server, 98 SE, XP
- VB.NET, VSTS 2010, ASP.NET, EXCEL VBA, ACCESS, SQL 2008
On those two pages it turns the background a solid grey instead of a opaque gray.
Here is what i have:
Code:
.modalBackground
{
background-color:Gray;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
-ms-filter:”alpha(opacity=50)”;
filter:alpha(opacity=60);
filter:“alpha(opacity=60)”;
opacity:0.6;
-moz-opacity:0.6;
-khtml-opacity: 0.6;
}
here is my modal settings
Code:
<asp:Panel ID="pnlEmail" runat="server" CssClass="modalPopupEmail" Style="display: none;">
<div align="center">
<asp:Label ID="lblEmail" runat="server" Text="Asurion E-mail:" Font-Bold="True"></asp:Label>
<asp:TextBox ID="txtEmailAddress" runat="server" Width="150px" />     <asp:Button ID="btnSendEmail" runat="server" Text="Send" />
<br />
<asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" TargetControlID="txtEmailAddress" WatermarkCssClass="watermarkText" WatermarkText="John.Doe@Asurion.com" runat="server">
</asp:TextBoxWatermarkExtender>
<br />
<asp:LinkButton ID="lnkBtnEmail" runat="server">Report Page Error</asp:LinkButton>
<br /> <br />
<asp:Button ID="btnClose" runat="server" Text="Close" />
</div>
</asp:Panel>
<asp:ModalPopupExtender ID="imgEmailContent_ModalPopupExtender" runat="server" BackgroundCssClass="modalBackground"
DynamicServicePath="" Enabled="True" PopupControlID="pnlEmail" TargetControlID="imgEmailContent" CancelControlID="btnClose">
</asp:ModalPopupExtender>
Any ideas?
- Matt
"If I must boast, I will boast of the things that show my weakness"
- Windows 2003 Server, 98 SE, XP
- VB.NET, VSTS 2010, ASP.NET, EXCEL VBA, ACCESS, SQL 2008