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

ListViewSelectionSettingsBuilder

Methods

Enabled(System.Boolean)

Enables or disables selection.

Parameters

value - System.Boolean

Example


             @( Html.Kendo().ListView(Model)
                        .Name("ListView")
                        .Selectable(selection => selection.Enabled((bool)ViewData["enableSelection"]))
            )

Mode(Kendo.Mvc.UI.ListViewSelectionMode)

Specifies whether multiple or single selection is allowed.

Parameters

mode - ListViewSelectionMode

Example


             @( Html.Kendo().ListView(Model)
                        .Name("ListView")
                        .Selectable(selection => selection.Mode((bool)ViewData["selectionMode"]))
            )

In this article
Not finding the help you need?