Skip to main content

TreeListSettingsCookies.Version Property

Gets or sets the cookie’s version.

Namespace: DevExpress.Web.ASPxTreeList

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

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string Version { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that specifies the version.

Property Paths

You can access this nested property as listed below:

Object Type Path to Version
ASPxTreeList
.SettingsCookies .Version

Remarks

Using the Version property, you can specify a custom version (in string format) for the current cookies settings. This property allows you to control the life span of the cookie containing the ASPxTreeList’s state. You can, for instance, change the Version property’s value, if you significantly modify your web site (or a site page containing the ASPxTreeList), and you don’t want the ASPxGridView’s state to be loaded from the previously saved cookies.

See Also