This question is locked. New answers and comments are not allowed.
My kendo DropdownList is too slow while returning a list of 37,000 and more items...
@(Html.Kendo().DropDownList()
.Name("NameList")
.DataTextField("Filter1")
.DataValueField("Filter1")
.HtmlAttributes(new { style = "font-family:Verdana; font-size:small" })
.AutoBind(false)
.DataSource(source =>
{
source.Read(read =>
{
read.Action("GetFilterValues", "Home").Data("ParametersForNamesList");
})
.ServerFiltering(true);
})
)
functionParametersForNamesList() {
return {
text: "",
selectedOption: "Name"
};
}
@(Html.Kendo().DropDownList()
.Name("NameList")
.DataTextField("Filter1")
.DataValueField("Filter1")
.HtmlAttributes(new { style = "font-family:Verdana; font-size:small" })
.AutoBind(false)
.DataSource(source =>
{
source.Read(read =>
{
read.Action("GetFilterValues", "Home").Data("ParametersForNamesList");
})
.ServerFiltering(true);
})
)
functionParametersForNamesList() {
return {
text: "",
selectedOption: "Name"
};
}