我在我的应用程序中使用了 Kendo-Drop Down 框,我想在此下拉框中添加可搜索的功能,但它不起作用..所以请任何朋友帮助我..
@(Html.Kendo().DropDownList()
.Name("PCODE")
.OptionLabel("--Select--")
.HtmlAttributes(new { style = "width:100%;" })
.DataTextField("PCODE")
.DataValueField("EmpId")
.HtmlAttributes(new { @class = "kendo-Drop-PCode" })
.Filter("contain")
.DataSource(source =>
{
source.Read(read =>
{
read.Action("GetEmployeeList", "Common");
})
.ServerFiltering(true);
}
)
)