New to Kendo UI for jQuery? Download free 30-day trial

Configure Server Grouping and Sorting in MultiSelect


Product Progress® Telerik® UI MultiSelect for ASP.NET MVC


How can I enable the server-side grouping and sorting for the Kendo UI MultiSelect in ASP.NET MVC projects?


  1. Enable sorting and grouping. Indicate by which field the data will be sorted and grouped. Define

        .DataSource(source => source
            .Sort(s => s.Add("Name"))
            .Group(g => g.Add("TypeP", typeof(string)))
            .Transport(transport => transport
            .Read(read =>
                read.Action("GetProducts", "Home");
            .Schema(s => s
                .Model( m => m.Id("Id"))
        .Placeholder("Select product...")
  2. In the controller action, handle the DataSourceRequest.

        public JsonResult GetProducts([DataSourceRequest]DataSourceRequest request)
            var productss = ProductsAll().ToDataSourceResult(request);
            return Json(productss);

See Also

In this article