ASPxGridCookiesSettings.Version Property
Gets or sets the cookie’s version.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v20.2.dll
NuGet Package: DevExpress.Web
Declaration
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:
Library | Object Type | Path to Version |
---|---|---|
ASP.NET Controls and MVC Extensions | ASPxCardView |
|
ASPxGridView |
|
|
ASPxVerticalGrid |
|
|
GridViewProperties |
|
|
ASP.NET Bootstrap Controls | BootstrapCardView |
|
BootstrapGridView |
|
|
ASP.NET MVC Extensions | CardViewSettings |
|
CardViewSettings<CardType> |
|
|
GridViewSettings |
|
|
GridViewSettings<RowType> |
|
|
MVCxCardView |
|
|
MVCxGridView |
|
|
MVCxGridViewProperties |
|
|
MVCxVerticalGrid |
|
|
VerticalGridSettings |
|
|
VerticalGridSettings<ColumnType> |
|
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