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.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
#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
#Related Links
Online Demos:
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
#Related Links
Online Demos:
#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