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

Combobox extremely slow in IE7 (and iPad)

3 Answers 61 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Pulseweb
Top achievements
Rank 1
Pulseweb asked on 23 Apr 2013, 02:25 PM
Hi all,

I have a Kendo Combobox that contains a lot of records (1600+). It works reasonable well in all browsers. Except in IE7. That browser takes about 30 seconds to bind and also about 30 seconds to create the drop down. The same is true for iPad to a lesser extend (20 sec). It seems it does some inefficient DOM manipulation. Is there any way to prevent this situation?

Here's some example code:

@Html.LabelFor(m => m.DepartmentId)
@(Html.Kendo().ComboBoxFor(m => m.DepartmentId)
    .Placeholder(Main.PleaseSelect)
    .Filter(FilterType.Contains)
    .DataTextField("text")
    .DataValueField("value")
    .AutoBind(true)
    .DataSource(d => d
        .Read(a => a.Url(this.Url.Action("ReadDepartments")).Type(HttpVerbs.Post))
        .Events(e => e.Error("pw.error.throwJqueryAjax").RequestStart("competenceGeneralEnterCatch"))
    )
    .SelectedIndex(0)
)
@Html.ValidationMessageFor(m => m.DepartmentId)

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 25 Apr 2013, 07:48 AM
Hello,

 
I hope you will agree with me that different browsers have different capabilities to handle rendering and animating of a big HTML content. 1600+ elements are a lot for legacy browsers such as IE7. What I can suggest you is to set minLength option and request from the end-user to type several characters before bind the widget. Also I can assure you that the widget's rendering is optimized.

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!
0
Pulseweb
Top achievements
Rank 1
answered on 25 Apr 2013, 09:56 AM
I agree that IE7 is getting towards legacy, but we still have to handle with some pockets of resistance. Besides: iPad is far from being legacy, so I wondered if there was some (styling) feature I could disable to make it go faster.

Thanks for the reply. The solution seems sound, but I think that it's safer in my situation to make a switch so that IE7 users get a standard HTML dropdown list, while others get the Kendo ComboBox.


Wouter Bos
0
Georgi Krustev
Telerik team
answered on 29 Apr 2013, 09:18 AM
Hello again,

 
Unfortunately, iPad has a limited hardware, which can cause performance issue. You can try to turn off the animation. Note that the most heavy task in such case is to re-position an element with a lot of childrens. 
I will suggest you reduce the amount of the items (use minLength option), which you need to show in the widget.

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
ComboBox
Asked by
Pulseweb
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Pulseweb
Top achievements
Rank 1
Share this question
or