.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

IModelOptionsStateStore.SaveListViewStateInCookies Property

Specifies whether the application can use the browser cookie storage to persist List View settings.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v20.2.dll

Declaration

[DefaultValue(false)]
bool SaveListViewStateInCookies { get; set; }
<DefaultValue(False)>
Property SaveListViewStateInCookies As Boolean

Property Value

Type Default Description
Boolean

false

true, if the application can use the browser cookie storage to persist List View settings; otherwise, false.

Remarks

If the browser cookie storage is disabled, the IModelListViewStateStore.SaveStateInCookies properties have no effect.

IMPORTANT

It is recommended to store the application model differences in the database instead of cookies. List View settings may require a lot of space and the browser's cookie size limit may be exceeded (especially, when you use highly configurable List Editors with lots of options like ASPxPivotGridListEditor and ASPxChartListEditor). If the size is exceeded, settings are not persisted. Additionally, cookie storage produces extra traffic on each request that may lead to performance issues.

See Also