Ive just started using Kendo UI for the first time and I cant get the dropdown to show for a combobox. Heres the code in the view
In debug ive checked the contents of Model.UserRoles and there are currently 3 items. But when the page displays, I see a normal text box, not a dropdown. I have the required .js files and .css files loaded, so what am I doing wrong ?
<
li
>
@Html.LabelFor(m => m.UserRole)
@Html.Kendo().ComboBoxFor(m => m.UserRole).BindTo(Model.UserRoles).AutoBind(true).SelectedIndex(0).Suggest(true)
</
li
>
In debug ive checked the contents of Model.UserRoles and there are currently 3 items. But when the page displays, I see a normal text box, not a dropdown. I have the required .js files and .css files loaded, so what am I doing wrong ?