IE7 Modal Dialog + Page Transitions = Screen Artifacts



  • I have been trying to update our internal web application to work correctly in IE7.  So far everything is good, with the exception of our modal dialogs.  We use a META tag to prevent screen flicker during postbacks; and have done so for a long time now.
    
    Here is an example displaying the bug...
    
    Page 1:  LaunchModal.aspx
    
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="LaunchModal.aspx.cs" Inherits="Test_LaunchModal" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Untitled Page</title>
        <script>
            function launch() {
                var url = "Modal.aspx";
                var retVal = window.showModalDialog(url);
            }
        </script>
    </head>
    <body onload="launch()">
        <form id="form1" runat="server">
        <div>
            
        </div>
        </form>
    </body>
    </html>
    
    Page 2: Modal.aspx
    
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Modal.aspx.cs" Inherits="Test_Modal" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Untitled Page</title>
        <base target="_self" />
        <meta http-equiv="Page-Exit" content="blendTrans(Duration=0.0)" />
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <asp:Button runat="server" ID="PostBack" Text="Do a postback" />
        </div>
        </form>
    </body>
    </html>
    
    
    Load up LaunchModal.aspx in IE7 (It will launch Modal.aspx in a modal dialog), and repeatedly click the "Do a postback" button.  Notice the screen artifacts being drawn during the postback.
    Removing the blendTrans transition makes the artifacts go away, but makes the screen flicker return. Anyone have a work-around?  All I really need is a way to prevent screen-flicker inside a modal dialog within IE7.


  • Well, after more than a week with no responses...

    Anyone know the most effective means of filing a bug report with microsoft?

    Thanks



  • @RaspenJho said:

    Well, after more than a week with no responses...

    Anyone know the most effective means of filing a bug report with microsoft?

    Thanks

    If you aren't one of their major corporate customers, they don't care. Don't waste your time.


Log in to reply