Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opacity on ModalPopUp works on Most but not 2???

Status
Not open for further replies.

tqeonline

MIS
Oct 5, 2009
304
US
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:
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" /> &nbsp &nbsp <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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top