Telerik UI for ASP.NET MVC ListBox Basic Usage

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
index.cshtml
IndexController.cs

Also available for:

CLIENT-SIDE API SERVER-SIDE API
devcraft ninja image

The ListBox component is part of Telerik UI for ASP.NET MVC, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Description

The Telerik UI for ASP.NET MVC ListBox control visualizes a list of data items in a box that the user can select, reorder, remove, or drag and drop single or multiple items. You can also connect the ListBox to other ListBoxes, bind it to local or remote data, and customize its items by using a template.

The current example displays a common use-case scenario for two connected ListBoxes that are bound to local data. You can move the items from one box to another by using the command buttons.

The ASP.NET MVC ListBox control is part of Telerik UI for ASP.NET MVC, a professional-grade UI library with 110+ components for building modern and feature-rich web applications. The ListBox is a server-side wrapper for the Kendo UI for jQuery ListBox component and comes in the form of an HtmlHelper.

Functionality and Features

  • Data binding—You can bind the ListBox to local data through the BindTo() method, or configure it for remote data binding by setting a DataSource in its configuration.
  • Item templates—The ListBox component allows you to use templates for the rendering of its items.
  • Dragging and dropping—You can also enable the drag-and-drop feature for the ListBox items.
  • Selection—The ListBox component supports a single and a multiple selction mode.
  • Globalization—The ListBox component also enables you to render it in a right-to-left direction and customzie its default messages.
  • Accessibility—The ListBox is accessible for screen readers, supports WAI-ARIA attributes, and delivers keyboard shortcuts for faster navigation.

Additional Apps

This ListBox example is part of a unique collection of hundreds of ASP.NET MVC demos, with which you can see all Telerik ASP.NET MVC components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in the ThemeBuilder.

Support & Learning Resources

Additional Resources