Re: In IE8+,window.showModalDialog(page,....,has error!

  •  09-14-2012, 7:40 AM

    Re: In IE8+,window.showModalDialog(page,....,has error!

    Hi,

     

    I can't reproduce this error. I tested witht the simpe pages below. Do I need special steps to reproduce it?

     

    Can you try the example pages below too? Does it get the same problem? 

     

    1. <%@ Page Language="C#" ValidateRequest="false" %>  
    2.   
    3. <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>  
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    5. <html xmlns="http://www.w3.org/1999/xhtml">  
    6. <head runat="server">  
    7.     <title>example</title>  
    8. </head>  
    9. <body>  
    10.     <form id="form1" runat="server">  
    11.         <input type="button" value="showEditor" onclick="showEditor()" />  
    12.     </form>  
    13. </body>  
    14. </html>  
    15. <script>  
    16. function showEditor()  
    17. {  
    18.     window.showModalDialog("edit.aspx");  
    19. }  
    20. </script>  
    edit.aspx code 
    1. <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>  
    2.   
    3. <%@ Page Language="c#" %>  
    4.   
    5. <html>  
    6. <head>  
    7.     <title>example</title>  
    8. </head>  
    9. <body>  
    10.     <form runat="server" id="Form1">  
    11.         <CE:Editor ID="editor1"  runat="server" />  
    12.     </form>  
    13. </body>  
    14. </html>  

     

    Regards,

     

    Ken 

View Complete Thread