RadAjaxManager and AjaxSettings

2 posts, 0 answers
  1. Shirish Lokhande
    Shirish Lokhande avatar
    15 posts
    Member since:
    May 2010

    Posted 05 Oct 2010 Link to this post

    Hi,

    We are using RadAjaxManager and AjaxSettings for our application.
    We have one parent page with multiple user controls and each user control having "AjaxRequest" event.
    Parent page only having RadAjaxManager object.
    And "OnPreRender" of each user control we are setting loading panel.
    e.g. RadAjaxManager.AjaxSettings.AddAjaxSetting(control, control, RadAjaxLoadingPanel1);

    Problem - Now due to AjaxRequest event when user clicks on any user control's feature it shows all user controls RadAjaxLoadingPanel1(images), not for selected user control only.

    Can you please help us out here.

    Regards,
    SL
  2. Dimo
    Admin
    Dimo avatar
    8472 posts

    Posted 07 Oct 2010 Link to this post

    Hi Shirish,

    All loading panels are shown, because all controls are being updated. If you want to display only one RadAjaxLoadingPanel, you can do one of the following:

    1. Use one RadAjaxLoadingPanel for the whole page:

    http://www.telerik.com/community/code-library/aspnet-ajax/ajax/how-to-make-a-radajaxloadingpanel-span-over-the-whole-page.aspx


    2. Use the RadAjaxManager's OnRequestStart client event and show a RadAjaxLoadingPanel manually over the desired portion of the page, depending on which control is the AJAX initiator:

    http://www.telerik.com/help/aspnet-ajax/ajxonrequeststart.html
    http://www.telerik.com/help/aspnet-ajax/ajxshowhideloadingpanel.html


    Kind regards,
    Dimo
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top