Skip to main content

TreeListSettingsCookies.StoreSelection Property

Gets or sets whether a cookie and layout data contain information on selected nodes.

Namespace: DevExpress.Web.ASPxTreeList

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

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Boolean false

true, to add information on selected nodes to a cookie and layout data; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to StoreSelection
ASPxTreeList
.SettingsCookies .StoreSelection

Remarks

When the TreeListSettingsCookies.Enabled property is set to true, the StoreSelection property specifies whether information on selected nodes is saved to a cookie.

Additionally, the StoreSelection property specifies whether information on selected nodes is saved to layout data when handling the ASPxTreeList.ClientLayout event or calling the ASPxTreeList.SaveClientLayout method.

See Also