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

AjaxLoadingPanel not working correctly with RadAjaxPanel when UpdateMode=Always

5 Answers 71 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Fred Wesson
Top achievements
Rank 1
Fred Wesson asked on 22 May 2010, 05:51 PM
I created a simple webform with 2 RadAjaxPanels with their updatemode set to Always via the onajaxsettingcreated event.  Then I put 1 button in each of the RadAjaxPanels which cause them to generate an ajaxrequest.  Then I put a RadAjaxLoadingPanel on the form and set the loadingpanelid of both the RadAjaxPanels to the id of the loadingpanel.

When I run the form and click button 1, the loading panel displays correctly.  However, when I click the second button, the panel stops working for either ajaxpanel and will not display until the page is reloaded.  If I don't set the updatemode to always, it works fine.  This appears to be a bug with the RadAjaxPanel where updatemode=always.  Anyone else seen this and know a work around?

5 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 26 May 2010, 08:58 AM
Hello Fred,

In order to have the application works properly you should set the UpdateMode to Always in the OnAjaxSettingCreating event insetad of  OnAjaxSettingCreated. Test this approach and let us know if it helps.

Greetings,
Maria Ilieva
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.
0
Fred Wesson
Top achievements
Rank 1
answered on 26 May 2010, 02:18 PM
Setting the updatemode to always in the OnAjaxSettingCreating event does not work.  See this thread: http://www.telerik.com/community/forums/aspnet-ajax/ajax/radajaxpanel-updatemode-always-not-working.aspx

After further investigation, I found the update panels do work when run off my 2008 server.  However, they don't when run from the visual studio built in web server.
0
Maria Ilieva
Telerik team
answered on 31 May 2010, 10:11 AM
Hi Fred,

The fact that the setting will not work in OnAjaxSettingCreating is dependency and is specific for the pointed case. It depends on the specific application settings. Therefore I suggest you to test set the UpdateMode in the OnAjaxSettingCreating event and verify of this will make any difference.


Best wishes,
Maria Ilieva
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.
0
Fred Wesson
Top achievements
Rank 1
answered on 31 May 2010, 02:00 PM
I don't know what specific application settings allow the OnAjaxSettingCreating event to set the UpdateMode to Always, but it doesn't work in this case.
0
Maria Ilieva
Telerik team
answered on 02 Jun 2010, 01:51 PM
Hi Fred,

I suggest you to use RadAjaxManager with UpdateMode="Always" instead of two RadAjaxPanels. Please find attached a sample project which represents this scenario. Test it on your side and let me know if it works for you.


Best wishes,
Maria Ilieva
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
Fred Wesson
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Fred Wesson
Top achievements
Rank 1
Share this question
or