Hello,
If I use a DropDownListFor with ServerFiltering(true) there is no Initialization value - the DropDownList is always empty?
I use this DropDownListFor in a grid Editor template:
@(Html.Kendo().DropDownListFor(m => m.Mitglied_IDVerpaechter)
.MinLength(1)
.Height(400)
.OptionLabel(
" "
).OptionLabelTemplate(
" "
)
.DataTextField(
"Firmenbezeichnung"
)
.Filter(
"contains"
)
.NoDataTemplate(
"Keine Datensätze gefunden"
)
.DataValueField(
"Mitglied_ID"
)
.DataSource(dataSource =>
{
dataSource.Read(read => read.Action(
"Search"
,
"Home"
,
new
{ Area =
"Mitglied"
}).Type(HttpVerbs.Post))
.ServerFiltering(
true
);
})
)
How to use ServerFiltering and also have a initialization value?
robert