I have the following:
@(Html.Kendo().DropDownListFor(model => model.RecurringTypeID)
.SelectedIndex(0) //Select 1st item.
.DataTextField("Text")
.DataValueField("Value")
.BindTo(Model.RecurringType)
.HtmlAttributes(new { style = "font-size:11px;width: 175px;" })
.Events(e =>
{
e.Change("OnChangeRecurringType");
})
)
Why .SelectedIndex(0), .SelectedIndex(1), or .SelectedIndex(2) always return the 1st value on the dropdownlist.