Hi Telerik,
the dropdownlist does not select the correct option on initialization when using virtualization (if i turn off virtualization it works fine). Im using it very similar to your demo of virtualization.
Is it possible that this is a bug? Im using version 2015.1.429.545.
this is my code:
@(Html.Kendo().DropDownListFor(model => model.person_id)
.DataTextField(
"Name"
)
.DataValueField(
"Id"
)
.Filter(
"contains"
)
.OptionLabel(
"Choose..."
)
.Height(300)
.DataSource(source =>
{
source
.Custom()
.ServerFiltering(
true
)
.ServerPaging(
true
)
.PageSize(80)
.Type(
"aspnetmvc-ajax"
)
.Transport(transport =>
{
transport.Read(
"ReadForDropDown"
,
"Person"
);
})
.Schema(schema =>
{
schema.Data(
"Data"
)
.Total(
"Total"
);
});
})
.Virtual(v => v.ItemHeight(26).ValueMapper(
"personsValueMapper"
))
)