Easy Tutorial
❮ Met Websecurity Initializedatabaseconnection Prop Webcontrol Bulletedlist Firstbulletnumber ❯

ASP.NET SelectionMode Property



Definition and Usage

The SelectionMode property is used to get or set the way users select items in a ListBox.

Syntax

Property Description
mode Specifies how users select items in a ListBox. Possible values: Single - Default. Multiple items cannot be selected.<br> Multiple - Multiple items can be selected.

Example

The following example sets the SelectionMode property of a ListBox control:


❮ Met Websecurity Initializedatabaseconnection Prop Webcontrol Bulletedlist Firstbulletnumber ❯