New to Telerik UI for ASP.NET CoreStart a free 30-day trial

Local Binding

Updated on Oct 24, 2025

Local data binding refers to binding the MultiSelect component to a dataset that is prepared on the server and made available during the initial page rendering. The data is retrieved server-side (from a database, service, or other data source) and then passed to the view, where the BindTo() method accepts the IEnumerable collection.

The local data binding approach is often used when dealing with small to medium-sized datasets since all records are available when the page is loaded. Also, when the client-side filtering of the MultiSelect is enabled and the complete dataset can be accessed on the client, no additional server requests are needed, which provides fast and responsive user interactions. However, for large datasets, consider using Ajax data binding to avoid increased initial page load times and memory usage.

To configure the MultiSelect for local data binding, follow the next steps:

  1. Create a new action method and pass the Products table as the model.

    C#
    public ActionResult Index()
    {
        NorthwindDataContext northwind = new NorthwindDataContext();
    
        return View(northwind.Products);
    }
  2. Define the MultiSelect and bind it to the model collection available in the view.

    Razor
     @model IEnumerable<ProjectName.Models.ProductViewModel>
    
     @(Html.Kendo().MultiSelect()
         .Name("productMultiSelect") // The name of the MultiSelect is mandatory. It specifies the "id" attribute of the HTML element of the component.
         .DataTextField("ProductName") // Specify the property of the model that must be used as an option text.
         .DataValueField("ProductID") // Specify the property of the model that must be used as an option value.
         .BindTo(Model) // Pass the list of Products to the MultiSelect.
     )

See Also

In this article
See Also
Not finding the help you need?
Contact Support