Skip to main content
A newer version of this page is available. .
Tab

FileManagerSettingsCookies.Version Property

Specifies the cookie’s version.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
String String.Empty

The cookie’s version.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Version
ASP.NET Controls and MVC Extensions ASPxFileManager
.SettingsCookies .Version
HtmlEditorFileManager
.SettingsCookies .Version
RichEditFileManager
.SettingsCookies .Version
RichEditFolderManager
.SettingsCookies .Version
ASP.NET Bootstrap Controls BootstrapFileManager
.SettingsCookies .Version
ASP.NET MVC Extensions FileManagerSettings
.SettingsCookies .Version
MVCxFileManager
.SettingsCookies .Version

Remarks

Use the Version property to specify a custom version (in string format) for the current cookies settings. This property allows you to control the life span of the cookie that contains the control’s state. For example, you can change the Version property’s value if you significantly modify your web site (or a site page that contains the control), and you don’t want to load the control’s state from previously saved cookies.

<dx:ASPxFileManager ID="fileManager" ...>
    ...
    <SettingsCookies StoreSorting="true" Version="1" />
</dx:ASPxFileManager>
See Also