Hello everyone, I've got a strange problem with RadWindow on Firefox.
First, I use RadControls Q1 2007 for ASP .NET 1.1.
I've got an aspx page with one WindowManager and a javascript which is used to open a radwindow. The page contains an button control which calls javascript function to open radwindow as below :
In the page code, I've added an attribute on the image button :
So when I click on the button, the radwindow is shown.
It works great in IE8, but with Firefox, the radwindow is opened but the content, the titlebar, and the status bar, aren't shown. It looks like the desired resources aren't loaded whereas the radwindow is opened.
So, I don't understand where is the mistake.
Thanks for your help
Cheers
Yann
First, I use RadControls Q1 2007 for ASP .NET 1.1.
I've got an aspx page with one WindowManager and a javascript which is used to open a radwindow. The page contains an button control which calls javascript function to open radwindow as below :
| <%@ Register TagPrefix="radw" Namespace="Telerik.WebControls" Assembly="RadWindow" %> |
| <%@ Page AutoEventWireup="false" Codebehind="Index.aspx.vb" Inherits="OPAC_LOCAL.Index" errorPage="exception_error.aspx"%> |
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <HTML> |
| <HEAD id="head"> |
| <title runat="server" id="titletag"></title> |
| <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> |
| <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> |
| <meta content="JavaScript" name="vs_defaultClientScript"> |
| <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"> |
| <meta name="keywords" content=""> |
| <meta name="description" content=""> |
| </HEAD> |
| <body class="FondPage"> |
| <script type="text/javascript"> |
| var oWnd; |
| function showWindow() |
| { |
| var oManager = GetRadWindowManager(); |
| var oWnd = oManager.GetWindowByName("Splash"); |
| oWnd.SetUrl("./splash.htm"); |
| oWnd.Show(); |
| } |
| function closeWindow() |
| { |
| if(oWnd) { |
| oWnd.close(); |
| } |
| } |
| </script> |
| <form id="Form1" method="post" runat="server"> |
| <radw:RadWindowManager VisibleOnPageLoad="false" id="Singleton" Behavior="None" Skin="Blue" runat="server"> |
| <windows> |
| <radw:RadWindow id="Splash" Runat="server"></radw:RadWindow> |
| </windows> |
| </radw:RadWindowManager> |
| <div id="Holder"><asp:imagebutton id="btnImgConnexion" Runat="server" Visible="true"></asp:imagebutton></div> |
| <asp:PlaceHolder id="Contenu" Runat="server"></asp:PlaceHolder> |
| </form> |
| </body> |
| </HTML> |
In the page code, I've added an attribute on the image button :
| btnImgConnexion.Attributes.Add("onclick", "showWindow();") |
So when I click on the button, the radwindow is shown.
It works great in IE8, but with Firefox, the radwindow is opened but the content, the titlebar, and the status bar, aren't shown. It looks like the desired resources aren't loaded whereas the radwindow is opened.
So, I don't understand where is the mistake.
Thanks for your help
Cheers
Yann