RadAjaxManager updating controls that it should

2 posts, 0 answers
  1. Piyush Bhatt
    Piyush Bhatt avatar
    166 posts
    Member since:
    Nov 2007

    Posted 20 Oct 2009 Link to this post

    I am have RadAjaxManager with more than 40 entries in it with settings to update target controls based on some source control. Just standard need why we need it.

    Issue is for some of the events, the RadAjaxManger seems to update/refresh either the whole page or controls that are not supposed to be refreshed.

    E.g. following is just excerpt of it. When an event occurs in 'trvRegions', I do not want to update controls ucFilterList or ucVolumeList. But still for trvRegions events, AjaxManager updates these two controls. When such behavior occurs, what is the best way to solve it? Do I have to have each control inside a PANEL or I can directly mention the user controls? How do I find out actually which controls the AjaxManager is going to update (if it is updating more than what I have set?)

    Piyush Bhatt.




    telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="true">






    <telerik:AjaxSetting AjaxControlID="trvRegions">












    <telerik:AjaxUpdatedControl ControlID="ucQueryFieldSelector"/>






    <telerik:AjaxUpdatedControl ControlID="rcomboFilterFields"/>






    <telerik:AjaxUpdatedControl ControlID="ucFieldList"/>






    <telerik:AjaxUpdatedControl ControlID="ucQueryVolumeSelector"/>


















    <telerik:AjaxSetting AjaxControlID="ucQueryVolumeSelector" EventName="VolumeSelectionChanged">












    <telerik:AjaxUpdatedControl ControlID="ucVolumeList"/>

















  2. Pavlina
    Pavlina avatar
    6162 posts

    Posted 22 Oct 2009 Link to this post

    Hello Piyush,

    When you need to ajaxify a control with RadAjaxManager, you need to make sure is it available and visible on the page all the time. As dynamic user controls are not always available on the page, it is suggested that you ajaxify their parent container(panel or div) instead of themselves.

    Please give this suggestion a try and let me know if it helps.

    All the best,
    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.
Back to Top