ComboBox not displaying items

3 posts, 0 answers
  1. Juan
    Juan avatar
    2 posts
    Member since:
    Jan 2013

    Posted 20 Jan 2013 Link to this post

    I have a simple ComboBox

    @model IEnumerable<myDto>

    @(Html.Kendo().ComboBox()
              .Name("instructors")
              .DataTextField("Name")
              .DataValueField("Id")
              .BindTo(Model)
              .Events(e=>e.Select("InstructorSelectionChanged"))
              )

    see attached file: screenshot and generated html

    what am I missing?
  2. Juan
    Juan avatar
    2 posts
    Member since:
    Jan 2013

    Posted 21 Jan 2013 Link to this post

    I removed the Events and it works, so the issue is with the ComboBox's Events.
  3. Kendo UI is VS 2017 Ready
  4. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 22 Jan 2013 Link to this post

    Hello Juan,

    The code for your ComboBox looks fine. The only problem that I see is that you load Jquery bundles at the end of the page. You always have to make sure, that Jquery is loaded before Kendo Javascript files. Take a look at this Troubleshooting page if you need additional information.

    Kind regards,
    Dimiter Madjarov
    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