Skip to main content
A newer version of this page is available. .
Tab

ASPxGridBehaviorSettings.AllowClientEventsOnLoad Property

Gets or sets a value that specifies whether the FocusedElementChanged and SelectionChanged client-side events are invoked on the first load.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(true)]
public bool AllowClientEventsOnLoad { get; set; }

Property Value

Type Default Description
Boolean **true**

true, to invoke the events; otherwise, false.

Property Paths

You can access this nested property as listed below:

Show 16 property paths
Library Object Type Path to AllowClientEventsOnLoad
ASP.NET Controls and MVC Extensions ASPxCardView
.SettingsBehavior.AllowClientEventsOnLoad
ASPxGridView
.SettingsBehavior.AllowClientEventsOnLoad
ASPxVerticalGrid
.SettingsBehavior.AllowClientEventsOnLoad
GridViewProperties
.SettingsBehavior.AllowClientEventsOnLoad
CardViewSettings
.SettingsBehavior.AllowClientEventsOnLoad
CardViewSettings<CardType>
.SettingsBehavior.AllowClientEventsOnLoad
GridViewSettings
.SettingsBehavior.AllowClientEventsOnLoad
GridViewSettings<RowType>
.SettingsBehavior.AllowClientEventsOnLoad
MVCxCardView
.SettingsBehavior.AllowClientEventsOnLoad
MVCxGridView
.SettingsBehavior.AllowClientEventsOnLoad
MVCxGridViewProperties
.SettingsBehavior.AllowClientEventsOnLoad
MVCxVerticalGrid
.SettingsBehavior.AllowClientEventsOnLoad
VerticalGridSettings
.SettingsBehavior.AllowClientEventsOnLoad
VerticalGridSettings<ColumnType>
.SettingsBehavior.AllowClientEventsOnLoad
ASP.NET Bootstrap Controls BootstrapCardView
.SettingsBehavior.AllowClientEventsOnLoad
BootstrapGridView
.SettingsBehavior.AllowClientEventsOnLoad

Remarks

Find control-specific information (for ASPxGridView, ASPxCardView or ASPxVerticalGrid) in the sections below.

ASPxGridView

If the ASPxGridViewBehaviorSettings.AllowFocusedRow property is set to true the first visible row is focused automatically. In this case, the client-side ASPxClientGridView.FocusedRowChanged event is raised on loading.

If a grid has selected rows, the ASPxClientGridView.SelectionChanged client-side event is raised on loading.

To not invoke the specified client-side events on the first load, set the AllowClientEventsOnLoad property to false

Focused Row

Selection

Grid View - Getting Started

Online Demos:

Grid Rows - Focused Row

Row Selection - Using Checkboxes

Row Selection - Using Row Clicks

Row Selection - Select All Rows

ASPxCardView

If the ASPxCardViewBehaviorSettings.AllowFocusedCard property is set to true the first visible card is focused automatically. In this case, the client-side ASPxClientCardView.FocusedCardChanged event is raised on loading.

If a grid has selected cards, the ASPxClientCardView.SelectionChanged client-side event is raised on loading.

To not invoke the specified client-side events on the first load, set the AllowClientEventsOnLoad property to false

Focused Card

Selection

Card View - Getting Started

Online Demos:

Focusing

Selection

ASPxVerticalGrid

If a grid has selected cards, the ASPxClientVerticalGrid.SelectionChanged client-side event is raised on loading.

To not invoke the specified event on the first load, set the AllowClientEventsOnLoad property to false

Vertical Grid - Getting Started

See Also