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

Slow performance DropDownList and Combobox

1 Answer 312 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 31 Jul 2012, 07:45 PM
These are great controls... I need some help getting the best performance.

In the application, I have a Combobox (the same is true for a DropDownList, AutoComplete), as a <select> <option>. All works well with smaller list. Some of the Combobox have over 5000 items, and take 30 to 40 seconds to open. In internet explorer 8, it may not open at all. Unfortunately my user default browser is ie8. 

What is the best setup for performance? There is a lot of processing occurring on the initial click event, can that be triggered ahead of time? It needs to perform as well as an html select....

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Krustev
Telerik team
answered on 01 Aug 2012, 11:55 AM
Hello Thomas,

 
The DropDownList widget creates list of object besed on the select's option elements. DropDownList also creates option elements of the select element in order to handle all possible scenarios of data binding. I will suggest you create a DropDownList from input element and pass the data as JSON. This will be the fast databinding. If you are OK with slower initial load, then you can set the autoBind:true. Thus the widgets will render there items initially. Please note that the SELECT element is a native control and it is hard for any widget to perform like it.
I attached a simple test project, which shows different possible implementations of DropDwonList.

Kind regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
DropDownList
Asked by
Thomas
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or