I am having a problem with my RadWindows ignoring the settings I specify in its definition.
Here's the setup:
I have a default.aspx page where this ScriptManager definition exists inside my <body><form> tags:
Inside the default.aspx page, we use a placeholder where we can load our customer user controls. Inside one of these controls, I have the following RadWindowManager definition:
Inside this control when I need to open a window, I call this Javascript function:
Here's where it gets weird...The window opens, but the size is not what I specify in the RadWindowManager settings and all the behaviors are ignored. Here's a link to a screenshot. I have tried to apply the settings to the RadWindowManager instead of the RadWindow and the issue is still there.
Now, if I put the ScriptManager in the control itself, the window behaves properly. Unfortunately, this is not a solution because we need the scriptmanager on the default page as well which will give us 2 script managers defined on a single page. Also, this is a customer solution and I cannot zip it up and send it.
Any ideas?
Here's the setup:
I have a default.aspx page where this ScriptManager definition exists inside my <body><form> tags:
<asp:ScriptManager ID="ScriptManager" runat="server" /> |
Inside the default.aspx page, we use a placeholder where we can load our customer user controls. Inside one of these controls, I have the following RadWindowManager definition:
<telerik:RadWindowManager ID="Singleton" VisibleStatusbar="true" Behaviors="Close,Resize,Move" DestroyOnClose="false" runat="server" > |
<Windows> |
<telerik:RadWindow ID="objEmailWindow" InitialBehavior="Maximize" DestroyOnClose="false" Width="650" Height="650" runat="server" ShowContentDuringLoad="false" /> |
<telerik:RadWindow ID="objMoveFileWindow" InitialBehavior="Maximize" DestroyOnClose="false" Width="650" Height="325" runat="server" ShowContentDuringLoad="false" /> |
</Windows> |
</telerik:RadWindowManager> |
Inside this control when I need to open a window, I call this Javascript function:
function openWindow(url, windowName) { |
window.radopen(url, windowName); |
} |
Here's where it gets weird...The window opens, but the size is not what I specify in the RadWindowManager settings and all the behaviors are ignored. Here's a link to a screenshot. I have tried to apply the settings to the RadWindowManager instead of the RadWindow and the issue is still there.
Now, if I put the ScriptManager in the control itself, the window behaves properly. Unfortunately, this is not a solution because we need the scriptmanager on the default page as well which will give us 2 script managers defined on a single page. Also, this is a customer solution and I cannot zip it up and send it.
Any ideas?