AjaxLoadingPanel not working correctly with RadAjaxPanel when UpdateMode=Always

6 posts, 0 answers
  1. Fred Wesson
    Fred Wesson avatar
    15 posts
    Member since:
    May 2010

    Posted 22 May 2010 Link to this post

    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?
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 26 May 2010 Link to this post

    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.
  3. Fred Wesson
    Fred Wesson avatar
    15 posts
    Member since:
    May 2010

    Posted 26 May 2010 Link to this post

    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.
  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 31 May 2010 Link to this post

    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.
  5. Fred Wesson
    Fred Wesson avatar
    15 posts
    Member since:
    May 2010

    Posted 31 May 2010 Link to this post

    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.
  6. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 02 Jun 2010 Link to this post

    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.
Back to Top