Skip to main content

PivotGridWebOptionsLayout.StoreClientSideEvents Property

Gets or sets whether the control client-side event handlers are stored when the layout is saved to a storage, and restored when the layout is restored from a storage.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool StoreClientSideEvents { get; set; }

Property Value

Type Default Description
Boolean false

true if the control client-side event handlers are included in the layout when it is saved to a storage, and these settings are restored when the layout is restored from a storage; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to StoreClientSideEvents
ASPxPivotGrid
.OptionsLayout .StoreClientSideEvents
PivotGridWebOptionsLayout
.DefaultLayout .StoreClientSideEvents
PivotGridWebOptionsLayout
.FullLayout .StoreClientSideEvents

Remarks

This option determines if the control client-side event handlers are included in the layout when it is saved to a storage (a stream or string). If the StoreClientSideEvents option is set to false, settings included in the layout when it is stored depend upon the options of the PivotGridWebOptionsLayout object (only settings that have their corresponding Store… properties set to true will be included).

If the layout is being restored from a storage and the StoreClientSideEvents option is set to true, the control will try to load the appropriate options from the storage. If these options cannot be found in the stored layout, the control’s corresponding options will be set to their default values.

To access pivot grid’s client-side event handlers, use the ASPxPivotGrid.ClientSideEvents property.

See Also