Data Binding Overview

By default, the Telerik UI ListBox for ASP.NET MVC automatically binds to data.

Immediately after the ListBox loads, the DataSource sends a query and the data is loaded to the helper. To disable this behavior, set the AutoBind option of the ListBox to false.

        .DataSource(source => source
            .Read(read => read.Action("GetCustomers", "ListBox"))
        .Draggable(draggable => draggable.Placeholder("customPlaceholder"))
        .AutoBind(false) // Prevent data binding during the initialization of the widget
        .Toolbar(toolbar =>
            toolbar.Tools(tools => tools
        .BindTo(new List<CustomerViewModel>())

For more information about binding the ListBox to data, refer to the articles on:

See Also

In this article
Not finding the help you need? Improve this article