Can someone point me the right direction to implement a show a Radwindow without refreshing the parent page in jquery and once the Radwindow is loaded, I need to make ajax calls from the Radwindow.
Thank you
1 Answer, 1 is accepted
0
Marin Bratanov
Telerik team
answered on 19 Sep 2011, 07:05 AM
Hi Mayuresh,
The RadWindow is a client-side object and is best used via JavaScript, thus usually no refresh to the parent page should be made when opening it. To do so you need to use its client-side API. The following help article shows the various ways to open a RadWindow on the client: http://www.telerik.com/help/aspnet-ajax/window-programming-opening.html. As for performing AJAX requests - there are two cases:
1. you are using the ContentTemplate - please examine this help article on ajaxifying a RadWindow. In a similar manner you can point AJAX settings of a RadAjaxManager to buttons in the content template
2. you are using the NavigateUrl property - the above article still applies - if you need the AJAX requests to take place in the content page then it does not matter that it is loaded in a RadWindow. If you wish to initiate AJAX requests on the main page I advise that you examine this help article on calling functions form a RadWIndow: http://www.telerik.com/help/aspnet-ajax/window-programming-calling-functions.html. Then you need to declare functions that will initiate an AJAX request as explained in this help article: http://www.telerik.com/help/aspnet-ajax/ajax-client-side-api.html.