Combobox extremely slow in IE7 (and iPad)

4 posts, 0 answers
  1. Pulseweb
    Pulseweb avatar
    12 posts
    Member since:
    Feb 2005

    Posted 23 Apr 2013 Link to this post

    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)
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 25 Apr 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Pulseweb
    Pulseweb avatar
    12 posts
    Member since:
    Feb 2005

    Posted 25 Apr 2013 Link to this post

    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
  5. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 29 Apr 2013 Link to this post

    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!
Back to Top
Kendo UI is VS 2017 Ready