I have a page that opens another page in a modal RadWindow. Is it possible for the page in the RadWindow to make AJAX calls to itself through RadAjaxManager? If so could you direct me to an example of code that does this?
On the base page I have RadWindowManager setup like so:
And the popup page has an AjaxManager like so:
When I hit btnOK it always causes a postback and a page reload. I checked RadAjaxManager.GetCurrent().IsAjaxRequest and it says false.
Thanks in advance for the help,
Kevin
On the base page I have RadWindowManager setup like so:
| <telerik:RadWindowManager ID="RadWindowManager1" runat="server"> |
| <Windows> |
| <telerik:RadWindow runat="server" ID="winEditOrderNumber" Modal="true" Skin="WebBlue" ReloadOnShow="true" |
| Title="Edit Order Number" ShowContentDuringLoad="false" VisibleStatusbar="false" Behaviors="None,Close" |
| IconUrl="~/images/gridcmds/Edit.gif" Width="325px" Height="120px" ClientCallBackFunction="OrderNumberChangeCallback"> |
| </telerik:RadWindow> |
| </Windows> |
| </telerik:RadWindowManager> |
And the popup page has an AjaxManager like so:
| <asp:ScriptManager ID="ScriptManager1" runat="server"> |
| </asp:ScriptManager> |
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="btnOK" /> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
When I hit btnOK it always causes a postback and a page reload. I checked RadAjaxManager.GetCurrent().IsAjaxRequest and it says false.
Thanks in advance for the help,
Kevin