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

2 RadAjaxPanels triggering eachother

1 Answer 72 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jeroen Eikmans
Top achievements
Rank 1
Jeroen Eikmans asked on 19 Oct 2009, 08:13 AM
Hi,

I have 2 RadAjaxPanels. One has a button on it and the second has a RadGrid.
Both have enableAJAX set to true and the panel with RadGrid has the LoadingPanelID set.

Using the OnAjaxSettingCreating event of the RadGrid panel i add a AsyncPostbackTrigger to the e.UpdatePanel.Triggers collection.
The ControlID of the AsyncPostbackTrigger is set to the button of the first panel.

When i click the button (RadGrid.Rebind() is callled) both panels get updated now and this is what i needed.
However when the button is clicked the LoadPanel doesn't appear. Only when a Control of the radGrid panel triggers a call it get's triggered.

Is there something else i need to set to have the LoadingPanel appear when an update is coming from a control not on the RadAjaxPanel?

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 19 Oct 2009, 01:49 PM
Hi Roel,

In order to achieve the desired functionality I suggest you using RadAjaxManager instead of RadAjaxPanel. It can produce the same results and allows you to specify more granular settings to define the update conditions between different controls on the same page.
RadAjaxLoadingPanel is displayed during the ajax requests, you need simply drag AjaxLoadingPanel on the page and set its id via the updated controls' LoadingPanelID property.
More information is available here:
http://www.telerik.com/help/aspnet-ajax/ajxloadingpanel.html

Additionally, you can review the following help article:
http://www.telerik.com/help/aspnet-ajax/ajxshowhideloadingpanel.html

I hope this information helps.

Kind regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Ajax
Asked by
Jeroen Eikmans
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or