Assume I have created Testcontroller and added a Testcombobox control in views(Eg. TestView.cshtml). I implements the function and return data is working fine. Now I added existing Testcombobox control in different Controller (eg. Test1View1.cshtml and Test1Controller) is not loading data and it getting error like uncaught TypeError: Cannot read property 'slice' of undefined.
Eg ComboControl.
@(Html.Kendo().ComboBoxFor(m => m)
.Name("cbtest")
.Placeholder("--Select--")
.DataSource(source => source
.Custom()
.ServerFiltering(false).Transport(transport => transport
.Read(read =>
{
read.Action("TestAction", "Test");
}))
.Schema(schema => schema.Data("Data")
.Total("Total")
.Errors("errors")))
.MinLength(3)
.AutoBind(true)
.Filter(FilterType.Contains)
.DataValueField("sTestEntCode")
.DataTextField("sTestText")
Is there anything missing code or reference?
Note: Using Area Controller and the same control added another area controller.