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

ComboBox not displaying items

2 Answers 132 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Juan
Top achievements
Rank 1
Juan asked on 21 Jan 2013, 05:53 AM
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 Answers, 1 is accepted

Sort by
0
Juan
Top achievements
Rank 1
answered on 22 Jan 2013, 01:55 AM
I removed the Events and it works, so the issue is with the ComboBox's Events.
0
Dimiter Madjarov
Telerik team
answered on 22 Jan 2013, 03:14 PM
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!
Tags
Menu
Asked by
Juan
Top achievements
Rank 1
Answers by
Juan
Top achievements
Rank 1
Dimiter Madjarov
Telerik team
Share this question
or