Skip to main content
Tab

ASPxGridCookiesSettings.Version Property

Gets or sets the cookie’s version.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

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

Property Value

Type Default Description
String String.Empty

A String value that specifies the 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 control’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 control), and you don’t want the control’s state to be loaded from previously saved cookies.

See Also