New to Telerik UI for ASP.NET MVC? Download free 30-day trial

ASP.NET MVC ListView Selection

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
selection.cshtml
SelectionController.cs
ProductService.cs
CONSOLE LOG Clear log

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

The control comes with an option for a single or multiple selections of items, disabled by default.

You can enable the single selection with the .Selectable(ListViewSelectionMode.Single) configuration option. The Multiple Selection can be enabled by simply switching the Mode from Single to Multiple.

To make the connection to the remote endpoint and process the data properly, the data source requires information about the web service URL.

In this demo, you can view the output of the performed selection in the console log. To try out the Multiple Selection option, press and hold the Ctrl key while selecting items.

Additional Apps

This ListView 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