Radwindow problem with Firefox/Chrome

5 posts, 0 answers
  1. Jean-Marc
    Jean-Marc avatar
    93 posts
    Member since:
    Mar 2011

    Posted 19 Oct 2012 Link to this post

    Hi everyone,
    I have a problem with Radwindow: I use a radwindow as a popup/Waiting panel in my application and it opens inside an other radwindow containing an aspx page.
    This popup/Waiting radwindow contains an aspx page.

    With IE 9 there are not problems : the content of the popup/Waiting radwindow is correctly displayed and closed when the application finishes the loading.

    With Firefox 16.0.1 and Chrome 22.0.1229.94 m the popup/Waiting radwindow is correctly shown and closed, but the content of the popup/Waiting radwindow is not displayed(Blank page)

    My code for popup/Waiting radwindow content is the following

    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Popup.aspx.vb" Inherits="Admin_AccountingManagement_Popup" %>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
    <head id="Head1" runat="server">
        <title></title>   
    </head>
    <body>
        <form id="form1" runat="server" >
        <div style="vertical-align: middle">
        <table align="center">
         
        <tr>
        <td align="center">
        <asp:Image ID="ImageWait" runat="server" ImageAlign="Middle"
                ImageUrl="~/Admin/images/ajax-loader.gif" />
        </td>
        <td>
            <div id = "LabelConn" style="display: none" align="center">
            No Service connection
            </div>
        </td>
        </tr>
        <tr>
        <td>
        <asp:Label ID="LabelConnecting" runat="server" Text="Connecting...."
                Font-Size="X-Large"></asp:Label>
        </td>
        <td align="center">
            <input id="Button1" type="button" value="Close"  onclick="Close()" style="display: none"/>
        </td>
        </tr>
     
        </table>
        </div>
        </form>
    </body>
    </html>

    The popup/Waiting radwindow is
    <telerik:RadWindow runat="server"
                        Width="300"
                        Height="150"
                        VisibleStatusbar="false"
                        ID="AddWindow"
                        Modal="true"
                        KeepInScreenBounds="true"
                        Behaviors="Default"
                        Skin="Vista"
                        ReloadOnShow="True" VisibleTitlebar="false" VisibleOnPageLoad="False" ShowContentDuringLoad="True">
    </telerik:RadWindow>
    And the javascript used to open the popup/waiting radwindow is:
    function Pop() {
     
                var wnd = $find("<%=AddWindow.ClientID%>");
                wnd.show();
                //wnd.setUrl("/Admin/Mailing/OpenRooms.aspx?IDMailing=" + IDMailing + "&SupplierID=" + IDSupplier);
                wnd.setUrl("/Admin/AccountingManagement/Popup.aspx");
                 
            }

    As attachement two screenshots of the problem: 1st for IE; 2nd for firefox/Chrome

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    2722 posts
    Member since:
    Jun 2013

    Posted 22 Oct 2012 Link to this post

    Hi Jean-Marc,

    Can you confirm there isn't some server error during serving the loading page which is trapped by some server setting? What happens if you put this page in a simple iframe and view it under Firefox and Chrome? Does the problem persist?

    I am asking all these questions because this setup seems to be working fine with me, as can be seen in the attached test pages and screenshots.


    Regards,
    Marin Bratanov
    the Telerik team

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.

  3. Jean-Marc
    Jean-Marc avatar
    93 posts
    Member since:
    Mar 2011

    Posted 23 Oct 2012 Link to this post

    Hi,
    If I open popup.aspx in firefox or chrome, the page is correctly displayed as in IE.

  4. Marin Bratanov
    Admin
    Marin Bratanov avatar
    2722 posts
    Member since:
    Jun 2013

    Posted 25 Oct 2012 Link to this post

    Hi,

    Have you tried loading the page in an iframe and not only in the browser? Does the sample from my previous post work on your end? I am asking this because without being able to actually examine the issue is is very difficult to determine its origin. If you can reproduce your issue with my pages then I suggset you modify them accordingly and send me the changes. If my sample works fine with you I advise that you compare it with your actual page and try to locate the difference that is causing this behavior.


    Kind regards,
    Marin Bratanov
    the Telerik team

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.

  5. Jean-Marc
    Jean-Marc avatar
    93 posts
    Member since:
    Mar 2011

    Posted 26 Oct 2012 Link to this post

    Thank you for your hints.
    I solved in this way:

    <telerik:RadWindow runat="server"
                        Width="250"
                        Height="125"
                        VisibleStatusbar="false"
                        ID="PopWindow"
                        Modal="true"
                        KeepInScreenBounds="true"
                        OnClientClose="closeRadWindow"
                        Behaviors="Default"
                        Skin="Vista"
                        ReloadOnShow="True" VisibleTitlebar="False" DestroyOnClose="True" VisibleOnPageLoad="False" ShowContentDuringLoad="True">
                        <ContentTemplate>
                        <div style="vertical-align: middle">
        <table align="center">
         
        <tr>
        <td align="center">
        <asp:Image ID="ImageWait" runat="server" ImageAlign="Middle"
                ImageUrl="~/Admin/images/ajax-loader.gif" />
        </td>
        <td>
            <div id = "LabelConn" style="display: none" align="center">
            No Service connection
            </div>
        </td>
        </tr>
        <tr>
        <td>
        <asp:Label ID="LabelConnecting" runat="server" Text="Connecting...."
                Font-Size="X-Large"></asp:Label>
        </td>
        <td align="center">
            <input id="Button1" type="button" value="Close"  onclick="Close()" style="display: none"/>
        </td>
        </tr>
     
        </table>
        </div>
        </ContentTemplate>
    </telerik:RadWindow>

Back to Top