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

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.v18.2.dll

Declaration

[DefaultValue(false)]
bool SaveListViewStateInCookies { get; set; }

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