This is a migrated thread and some comments may be shown as answers.

RadAjaxManager and AjaxSettings

1 Answer 80 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Shirish Lokhande
Top achievements
Rank 1
Shirish Lokhande asked on 05 Oct 2010, 07:42 AM
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

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 07 Oct 2010, 04:00 PM
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
Tags
Ajax
Asked by
Shirish Lokhande
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or