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

slow selection and transfer

1 Answer 85 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 22 Sep 2010, 04:23 PM
I have two RadListBox controls on my page. These controls are inside an UpdatePanel. There are few other controls on the page, just a couple of radio buttons. I am transferring items in the left list to the right list in the standard way, according to the sample. The left (or source) list contains about 300 items. Each item is defined by an item template. The item template defines a table with two columns (table name, field name). The data in that list is coming from a declaratively bound objectdatasource. I have tried various combinations of property setting/clearing on the list control but cannot get very good performance in any case. It takes about 2.5 seconds for the list control to completely reflect that a new item has been selected. Further, it takes about 3 seconds for the tranfer from the left to the right list control to complete. There does not appear to be any postbacks occuring nor is there any data 'rebinding' occuring. Why would this control's performance be so dodgy for only a couple of hundred items? Am I missing some finer point? Note that I have seen a similar post where a user had performance problems as well, but that was for 15,000 items. I can reasonably see a problem occuring in that scenario. Also note that when I programmatically limit the data returned from the objectdatasource (and thus into the source list control) to say 10 or 20 items, the performance is much better. Finally, note the performance of the ASP.NET list control is very good in this scenario, but you cannot replicate multiple columns on that list control without resorting to custom string formatting and the use of fixed width fonts. Thanks.

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 27 Sep 2010, 11:29 AM
Hello Michael,

Is your transfer server-side or client-side. Are there time-consuming operations that you perform while transferring the items? Or just the integrated transfer is used? In which browser do you notice the slow-downs? In general, there used to a slow down (event browser halt) in IE when a  listbox was bound to a significant number of items (for example more than 1000). However, we have worked a lot in that direction and there is significant improvement when the latest version is used. An important note here is that this applies only to the client-side transfer. The server-side transfer does not have problem with the amount of items, it is the connection speed that matters.

Regards,
Genady Sergeev
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
Tags
ListBox
Asked by
Michael
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or