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

Unnecessary bandwidth consumed.

2 Answers 65 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
gsxrboy
Top achievements
Rank 1
gsxrboy asked on 18 Mar 2010, 06:41 PM
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"

 

 

 UpdatePanelsRenderMode="Inline">

 

 

   <AjaxSettings>

 

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

    </

 

AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 23 Mar 2010, 11:23 AM
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.

Greetings,
Dimo
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
gsxrboy
Top achievements
Rank 1
answered on 23 Mar 2010, 01:09 PM
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.
Tags
Ajax
Asked by
gsxrboy
Top achievements
Rank 1
Answers by
Dimo
Telerik team
gsxrboy
Top achievements
Rank 1
Share this question
or