Back to Devexpress

PivotGridWebOptionsLayout.StoreClientSideEvents Property

aspnet-devexpress-dot-web-dot-aspxpivotgrid-dot-pivotgridweboptionslayout.md

latest3.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(false)]
public bool StoreClientSideEvents { get; set; }
vb
<DefaultValue(False)>
Public Property StoreClientSideEvents As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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 TypePath 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

PivotGridWebOptionsLayout Class

PivotGridWebOptionsLayout Members

DevExpress.Web.ASPxPivotGrid Namespace