I'm still getting the n.slice error. Do I need to define the schema for this to work? If so, what should that look like?
@(
Html.Kendo().DropDownList()
.Name(
"SearchFunction"
)
.DataTextField(
"SearchFunctionDesc"
)
.DataValueField(
"SearchFunctionCode"
)
.DataSource(source =>
{
source.Read(read => {
read.Action(
"GetSearchFunctions"
,
"User"
);
});
})
.OptionLabel(
"--Select a Search Function--"
)
.AutoBind(
false
)
)