Skip to main content

ASPxGridViewBehaviorSettings.AllowSelectSingleRowOnly Property

Specifies the selection mode (single or multiple).

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public bool AllowSelectSingleRowOnly { get; set; }

Property Value

Type Default Description
Boolean false

true to enable single row selection; false to enable multiple row selection.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowSelectSingleRowOnly
.SettingsBehavior .AllowSelectSingleRowOnly
.SettingsBehavior .AllowSelectSingleRowOnly


The AllowSelectSingleRowOnly property is in effect when row selection is enabled. To enable row selection, specify one of the following properties:

When the checkbox selection mode is enabled (the ShowSelectCheckbox property is set to true), the AllowSelectSingleRowOnly property defines the editor type (check box or radio button) within the command column cells.

ASPxGridView - SelectSingleRow

<dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" KeyFieldName="EmployeeID" >
    <SettingsBehavior AllowSelectSingleRowOnly="true"/>
        <dx:GridViewCommandColumn VisibleIndex="0" ShowSelectCheckbox="true" />


See Also