Ajax request from Radwindow

2 posts, 0 answers
  1. Mayuresh
    Mayuresh avatar
    2 posts
    Member since:
    Jul 2011

    Posted 15 Sep 2011 Link to this post

    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
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4613 posts

    Posted 19 Sep 2011 Link to this post

    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.


    Regards,
    Marin
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
Back to Top