Hello, I have a content page inside my master page. The RadAjaxManager and RadWindowManager are both defined in the master page. inside the content page I have a UserControl inside of a RadAjaxPanel. There is a button in the UserControl that does a post back. inside the button's click event i'm dynamically creating a RadWindow and adding that RadWindow to the RadWindowManager in the Mater page.
The problem I'm having is that the UserControl which holds the Button is inside a RadAjaxPanel so the dynamically created Window does not open once the button's click event has finished executing. If I remove the RadAjaxPanel the Window opens fine. I read in the forum that this is due to the fact that the AjaxPanel cannot update the WindowManager because the Window manager is in the Master Page.
I found the following two links that explains how to get around this by updating the RadAjaxManager's ajaxSettings at runtime. in the example the controls are created at design time and the RadAjaxmanager's ajaxSettings are updated at run-time inside Page_Load. My issue is that the Control that I need to add to the ajaxSettings (the RadWindow) is created at run-time in the button's click even. Is there a way to get this to work without having to create my RadWindows at design time?
Thanks
Cliff
The problem I'm having is that the UserControl which holds the Button is inside a RadAjaxPanel so the dynamically created Window does not open once the button's click event has finished executing. If I remove the RadAjaxPanel the Window opens fine. I read in the forum that this is due to the fact that the AjaxPanel cannot update the WindowManager because the Window manager is in the Master Page.
I found the following two links that explains how to get around this by updating the RadAjaxManager's ajaxSettings at runtime. in the example the controls are created at design time and the RadAjaxmanager's ajaxSettings are updated at run-time inside Page_Load. My issue is that the Control that I need to add to the ajaxSettings (the RadWindow) is created at run-time in the button's click even. Is there a way to get this to work without having to create my RadWindows at design time?
- http://www.telerik.com/help/aspnet/ajax/ajxMasterPageUpdateEverywhere.html
- http://www.telerik.com/help/aspnet/ajax/ajxLoadControlFromAnotherWebUserControlInDifferentMasterPageContentPlaceHolder.html
Thanks
Cliff