By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,357 Members | 1,021 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,357 IT Pros & Developers. It's quick & easy.

ModalPopupExtender and opacity IE

P: n/a
I'm running into a strange problem....When I have a container DIV
the height set up to 2014px all the background gets properly "grayed"
and is partially opaque. If the container DIV is just 1 px higher it
stops working!

I've included sample code below. Any help is greatly appreciated!
<%@ Page Language="VB" AutoEventWireup="false"
CodeFile="Sandbox.aspx.vb" Inherits="Sandbox" %>
<%@ Register Assembly="AjaxControlToolkit"
Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="">
<head id="Head1" runat="server">
<title>Untitled Page</title>
<style type="text/css">
background-color: Gray;
filter: alpha(opacity=70);
opacity: 0.7;
background-color: #FFFFDD;
border-width: 3px;
border-style: solid;
border-color: Gray;
padding: 3px;
width: 250px;
<form id="form1" runat="server">
<div style="border: solid thin black; height: 2014px;">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<asp:ScriptManager ID="ScriptManager1"
<asp:Button ID="btnClickToOpen" runat="server"
Text="Click here!" />
<br />
<asp:Label ID="lblName" runat="server"></asp:Label>
<br />
<asp:Panel ID="Panel2" runat="server" Style="display:
none;" CssClass="modalPopup">
<asp:Label ID="Label1" runat="server"
enter your name:"></asp:Label>
<br />
<asp:TextBox ID="TextBox1" runat="server"></
asp:TextBox><br />
<asp:Button ID="btnOK1" runat="server"
Text="OK" /

<asp:Button ID="btnCancel1" runat="server"
Text="Cancel" />
<cc1:ModalPopupExtender ID="ModalPopupExtender2"
runat="server" OnOkScript="fnClickOK()"
OkControlID="btnOK1" DropShadow="true"
<asp:Label ID="Label22" runat="server" Text="Hello" />

Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.