Hi everybody,
I experience a strange behaviour using the RadWindow in a page with a master page. I have a simple button and want the RadWindow to open when the button is clicked. This works perfectly well in any page without a master page but fails if a master page is associated to the page.
Here is the code block I use within the pages:
Moving the Rad...Managers between the page and its master page (and using proxies) didn't solve the problem.
Strangely, setting the VisibleOnPageLoad attribute to true, causes the RadWindow to show up in both versions. Then, it is also possible to close the window and open it with the button! Unfortunatelly showing the window on page load is not the behaviour I need.
I also compared the rendered html / script code and it looks identical in both versions - just different names and prefixes for the rendered elements.
Any help is much appreciated.
Thanks,
Markus
I experience a strange behaviour using the RadWindow in a page with a master page. I have a simple button and want the RadWindow to open when the button is clicked. This works perfectly well in any page without a master page but fails if a master page is associated to the page.
Here is the code block I use within the pages:
<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server"> |
</telerik:RadStyleSheetManager> |
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
</telerik:RadAjaxManager> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
</telerik:RadScriptManager> |
<telerik:RadWindowManager ID="RadWindowManager1" runat="server"> |
<Windows> |
<telerik:RadWindow ID="DialogWindow" runat="server" Behavior="Default" InitialBehavior="None" |
OpenerElementID="btnTest" VisibleOnPageLoad="False" Modal="true" VisibleTitlebar="False" |
VisibleStatusbar="False" NavigateUrl="Dialog.aspx"> |
</telerik:RadWindow> |
</Windows> |
</telerik:RadWindowManager> |
<asp:Button ID="btnTest" runat="server" Text="Button" /> |
Moving the Rad...Managers between the page and its master page (and using proxies) didn't solve the problem.
Strangely, setting the VisibleOnPageLoad attribute to true, causes the RadWindow to show up in both versions. Then, it is also possible to close the window and open it with the button! Unfortunatelly showing the window on page load is not the behaviour I need.
I also compared the rendered html / script code and it looks identical in both versions - just different names and prefixes for the rendered elements.
Any help is much appreciated.
Thanks,
Markus