The page has two cascades ComboBox .
With a blank page, everything works fine.
But when data is transferred to the page (for editing), then the second ComboBox does not display and is blocked.
It turns out after loading the data in the first ! does not fit into filterCategory.
How to fix this nuance?
@model ServiceViewModel
@using Kendo.Mvc.UI
.....
<div class="row">
<div class="col">
@(Html.Kendo().ComboBox()
.Name("CategoriesServiceDrop")
.Value(Model.CategoriesService)
.AutoBind(true)
.HtmlAttributes(new { style = "width:100%;"})
.Placeholder("Выбор категории...")
.DataTextField("Category")
.DataValueField("IdCategory")
.Filter(FilterType.Contains)
.DataSource(source => source.Read(read => read.Action("CategoryServis_Read", "ServiceSubmit")))
)
</div>
<div class="col">
@(Html.Kendo().ComboBox()
.Name("CategoryPodServicesDrop")
.HtmlAttributes(new { style = "width:100%;"})
.Placeholder("Выбор детальной категории...")
.DataTextField("CategoryPod")
.Value(Model.CategoryPodServices)
// .DataValueField("Id")
.Filter("contains")
.DataSource(source => source.Read(read => read.Action("CategoryPodServis_Read", "ServiceSubmit").Data("filterCategory")).ServerFiltering(true))
.AutoBind(false)
.Enable(false)
.CascadeFrom("CategoriesServiceDrop")
)
</div>
</div>
.....