Unnecessary bandwidth consumed.

3 posts, 0 answers
  1. gsxrboy
    gsxrboy avatar
    4 posts
    Member since:
    Mar 2009

    Posted 18 Mar 2010 Link to this post

    I have a radlistbox named "radlstbxStaff" which is populated with names during the page load. Using the RadAjaxmanager, when an item is selected I'm updating a handfull of details related to the selected staff. The controls that are being updated are located in the "panelSelectedStaffDetails" panel. The list box is not inside that panel. Using Fiddler I've been monitoring the bytes received when selecting an item. The issue I'm having is that the size of the bytes received when selecting an item is higher the more items there are in the list. I've found this to be true in other sections of the site that I'm using a simlilar approach.  Since the list itself is not being updated, why does it's size effect the bytes received?

    Please see the following code block that makes up the ajaxmanager.



    telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"








           <telerik:AjaxSetting AjaxControlID="radlstbxStaff">  
                        <telerik:AjaxUpdatedControl ControlID="panelSelectedStaffDetails"   
                            LoadingPanelID="RadAjaxLoadingPanel1" /> 
                        <telerik:AjaxUpdatedControl ControlID="hfAllowedHours" /> 
                        <telerik:AjaxUpdatedControl ControlID="panelAdditionalShifts"  /> 
                        <telerik:AjaxUpdatedControl ControlID="btnAssign" /> 








  2. Dimo
    Dimo avatar
    8445 posts

    Posted 23 Mar 2010 Link to this post

    Hello Jeff,

    If you post a forum thread and a support ticket about the same thing, please notify about this in both places.

    The observed behavior is normal, because information about the RadListBox items is kept in the ViewState and the whole (updated) ViewState is returned after AJAX requests.

    In addition, if the RadListBox is updated via AJAX as well, the updated information about its items will be returned in its initialization script.

    You can optimize the ViewState and initialization script volume with regard to the RadListBox control by adding the items client-side. I have sent an example in the support ticket.

    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. gsxrboy
    gsxrboy avatar
    4 posts
    Member since:
    Mar 2009

    Posted 23 Mar 2010 Link to this post

    My apologizes for posting in both locations. I only did so after I had not received a reply on this original post. I will stop posting on this thread and will continue any further questions regarding this matter on the support ticket.
Back to Top