or
@using Kendo.Mvc.UI;@model DataModels.Picking.PickingAssignmentItemType@(Html.Kendo().DropDownList() .Name("Type") .DataTextField("Description") .DataValueField("TypeCode") .DataSource(source => source .Read("GetAssignmentTypes", "Picking") .ServerFiltering(true) ))@using Kendo.Mvc.UI;@model DataModels.Picking.PickingAssignmentItemViewModel@(Html.Kendo().DropDownList() .Name("ParentItem") .DataTextField("ItemId") .DataValueField("ItemId") .DataSource(source => { source.Read(read => { read.Action("GetAssignmentKits", "Picking") .Data("filterTypes"); }) .ServerFiltering(true); }) .CascadeFrom("Type")) <script> function filterTypes() { return { Type: $("#Type").val() }; }</script>
@Html.Label("Search")@Html.TextBox("catalogSearch")<input id="searchCatalogButton" type="button" value="Go" />@(Html.Kendo().TreeView().Name("catalogTree")
.DataSource(dataSource => dataSource.Read(read => read.Action("GetCatalogItems", "Catalog"))))[ { "id": 1, "text": "Top #1", "matching": false, "expanded": true, "hasChildren": true, "items": [ { "id": 2, "text": "Mid #1", "matching": false, "expanded": true, "hasChildren": true, "items": [ { "id": 3, "text": "Bottom #1", "matching": true, "expanded": false, "hasChildren": false } ] }, { "id": 4, "text": "Mid #2", "matching": false, "expanded": false, "hasChildren": true } ] }]