[FIXED] [V0.7] Internet Explorer 6 throws error with Coolite + showModalDialog + base target=_self

Page 1 of 2 12 LastLast
  1. #1

    [FIXED] [V0.7] Internet Explorer 6 throws error with Coolite + showModalDialog + base target=_self

    IE has a special showModalDialog function that will open a modal window. In the modal window, you must have <base target=_self /> to avoid postback opening another new window. If Coolite is on the modal page, IE6 throws an 'Internet Explorer can not open [page]" error. IE7 works fine.

    Parent.aspx
    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Parent.aspx.vb" Inherits="CooliteSandbox.Parent" %>
    
    <!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></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <asp:Button runat="server" Text="Go" OnClientClick="window.showModalDialog('/CooliteSandbox/Child.aspx');return false;" />
        </form>
    </body>
    </html>
    Child.aspx
    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Child.aspx.vb" Inherits="CooliteSandbox.Child" %>
    
    <%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
    <!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">
        <base target="_self" />
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <ext:ScriptManager ID="ScriptManager1" runat="server" Theme="Default">
        </ext:ScriptManager>
        <asp:Label runat="server" ID="lblKey">Hi</asp:Label>
        <asp:Button runat="server" Text="Go" />
        </form>
    </body>
    </html>
    http://blogs.msdn.com/ie/archive/200...n-aborted.aspx
  2. #2

    RE: [FIXED] [V0.7] Internet Explorer 6 throws error with Coolite + showModalDialog + base target=_self

     Found a few more articles on this: 

    https://extjs.com/forum/showthread.php?p=137858

    http://support.microsoft.com/default.aspx/kb/927917



    Looks like another IE quirk.  Unfortunately, more than 80% of our clients still use IE6, and our app uses ALOT of modal dialogs.  


  3. #3

    RE: [FIXED] [V0.7] Internet Explorer 6 throws error with Coolite + showModalDialog + base target=_self

     Yes.  Found the official thread on ExtJS for this.  Looks like a confirmed bug with Ext 2.2.

    http://www.extjs.com/forum/showthrea...287#post236287



    I didn't read through all 12 pages of that thread, but it seems like there is a patch but no official fix.  Will it be possible for Coolite to include the patch?  Or should I apply the patch manually and rebuild from SVN?
  4. #4

    RE: [FIXED] [V0.7] Internet Explorer 6 throws error with Coolite + showModalDialog + base target=_self

    Any updates?
  5. #5

    RE: [FIXED] [V0.7] Internet Explorer 6 throws error with Coolite + showModalDialog + base target=_self

    Hi jchau,

    I believe this onReady fix has already been applied a while back, but I will double check.

    Geoffrey McGill
    Founder
  6. #6

    RE: [FIXED] [V0.7] Internet Explorer 6 throws error with Coolite + showModalDialog + base target=_self

    Can you try the example I posted and see if you can reproduce the error? I am using v0.7.0.28815. I want to make sure it's not an issue on my side. Thanks!
  7. #7

    RE: [FIXED] [V0.7] Internet Explorer 6 throws error with Coolite + showModalDialog + base target=_self

    Hi jchau,

    I have reproduced the error in IE6. 


    I tested in FF2, FF3, IE7, IE8, Safari and Chrome... all of which appear to be working correctly. 


    We're going to do some research into this issue.


    Geoffrey McGill
    Founder
  8. #8

    RE: [FIXED] [V0.7] Internet Explorer 6 throws error with Coolite + showModalDialog + base target=_self

    Thanks Geoffrey. There was an immediate need for a fix as our release date is next week. However, I was able to workaround the problem by converting all the postbacks to webservice calls (using Telerik control in some of the pages so can't do AjaxEvents). It would be great if this can be fixed in the future, but not an emergency anymore. Thanks!
  9. #9

    RE: [FIXED] [V0.7] Internet Explorer 6 throws error with Coolite + showModalDialog + base target=_self

    Hi Jacky,

    I think I found and fixed the problem. I've committed the change to SVN, but still need to do more testing before we can stamp this one as FIXED.


    If you get a chance, please SVN update and retest your samples to confirm.




    Geoffrey McGill
    Founder
  10. #10

    RE: [FIXED] [V0.7] Internet Explorer 6 throws error with Coolite + showModalDialog + base target=_self

    Hi Jacky,

    Any chance you could svn update and confirm if this js error is still being thrown?


    Geoffrey McGill
    Founder
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 6
    Last Post: Apr 05, 2012, 5:23 PM
  2. Coolite Examples Explorer 0.8.2 Error Page
    By walle in forum 1.x Help
    Replies: 1
    Last Post: May 07, 2010, 5:07 PM
  3. Coolite Examples Explorer Error Page
    By matmani in forum Bugs
    Replies: 0
    Last Post: Dec 26, 2009, 11:23 AM
  4. [CLOSED] internet explorer cannot open the internet site
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 28, 2009, 11:30 AM
  5. Replies: 2
    Last Post: Oct 21, 2008, 1:52 PM

Posting Permissions