or
<p> <label class="searchLabel" for="state">State:</label> @(Html.Kendo().DropDownList() .Name("state") .HtmlAttributes(new { style = "width:275px" }) .OptionLabel("Select state...") .DataTextField("StateName") .DataValueField("StateAbbr") .DataSource(source => source.Read(read => read.Action("GetStates", "Home"))) ) </p> <p> <label class="searchLabel" for="county">County:</label> @(Html.Kendo().DropDownList() .Name("county") .HtmlAttributes(new { style = "width:275px" }) .OptionLabel("Select county...") .DataTextField("CountyName") .DataValueField("CountyName") .DataSource(source => source.Read(read => read.Action("GetCounties", "Home").Data("filterCounties")) .ServerFiltering(true)) .Enable(false) .AutoBind(false) .CascadeFrom("state") ) </p> <p> <label class="searchLabel" for="city">City:</label> @(Html.Kendo().DropDownList() .Name("city") .HtmlAttributes(new { style = "width:275px" }) .OptionLabel("Select city...") .DataTextField("CityName") .DataValueField("CityName") .DataSource(source => source.Read(read => read.Action("GetCities", "Home").Data("filterCities")) .ServerFiltering(true)) .Enable(false) .AutoBind(false) .CascadeFrom("county") ) </p><script> function filterCounties() { return { state: $("#state").val() }; } function filterCities() { return { state: $("#state").val(), county: $("#county").val() }; } $(document).ready(function() { $("#state").data("kendoDropDownList"); $("#county").data("kendoDropDownList"); $("#city").data("kendoDropDownList"); });</script>$("#grouping").click(function () { $("#grid").data("kendoGrid").groupable(true); });
$("#removegrouping").click(function () { $("#grid").data("kendoGrid").groupable(false); });
$("#sorting").click(function () {
$("#grid").data("kendoGrid").sorting(true);
});


