This is a migrated thread and some comments may be shown as answers.

Radwindow problem with Firefox/Chrome

4 Answers 280 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jean-Marc
Top achievements
Rank 1
Jean-Marc asked on 19 Oct 2012, 10:42 AM
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

4 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 22 Oct 2012, 01:48 PM
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.
0
Jean-Marc
Top achievements
Rank 1
answered on 23 Oct 2012, 04:26 PM
Hi,
If I open popup.aspx in firefox or chrome, the page is correctly displayed as in IE.
0
Marin Bratanov
Telerik team
answered on 25 Oct 2012, 03:02 PM
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.
0
Jean-Marc
Top achievements
Rank 1
answered on 26 Oct 2012, 10:07 AM
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>
Tags
Window
Asked by
Jean-Marc
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Jean-Marc
Top achievements
Rank 1
Share this question
or