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

Massive response size

1 Answer 41 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ulrik Rasmussen
Top achievements
Rank 1
Ulrik Rasmussen asked on 27 Apr 2011, 09:36 AM
Hello,

I am creating a lot of combo boxes programmatically, which results in a massive response size of about 25 MiB. Since each combo box contains the same list of about 600 elements, I suspect that I can bring down the response size dramatically by binding the list elements on the client side.

Does anyone have an idea what the easiest way to do this in an asynchronous postback is? I am thinking of serializing the list elements as a javascript array and iterate over every combo box on the client, but this could potentially be very slow. Is there a better way maybe?


Thanks,

Ulrik

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 27 Apr 2011, 10:22 AM
Hello Ulrik,

The best approach to optimize the performance speed of Telerik RadComboBox when using huge amount of items is using the load-on-demand feature.  The load-on-demand mechanism loads the items only when the user types or clicks in the field or the drop-arrow image. It filters the Items server-side before they are loaded in the control and the Filter feature performs filtering at client-side.

And I recommend you to retrieve data in portions - with use of ShowMoreResultsBox and VirtualScrolling options.

Take a look at the this demo which demonstrates the various Load On Demand Modes.


Thanks,
Princy.
Tags
ComboBox
Asked by
Ulrik Rasmussen
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or