Skip to main content
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET 6.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.v24.1.dll

NuGet Package: DevExpress.ExpressApp.Web

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