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

DashboardFileStorage Class

A file storage used to hold dashboards.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v18.2.Web.dll

Declaration

public class DashboardFileStorage :
    DashboardStorageBase

Remarks

Use the static DashboardService.SetDashboardStorage method to create a storage that contains dashboards. You can use predefined dashboard storages (DashboardFileStorage or DashboardInMemoryStorage) or you can implement the IDashboardStorage/IEditableDashboardStorage interface to provide your own logic for managing dashboards using the Web Dashboard.

Note

The DashboardInMemoryStorage is used by default if you do not create the dashboard storage.

Example

The following code snippet shows how to create a dashboard file storage for the Web Dashboard.

DashboardFileStorage dashboardFileStorage = new DashboardFileStorage("~/App_Data/Dashboards");
ASPxDashboard1.SetDashboardStorage(dashboardFileStorage);

Inheritance

Object
DashboardStorageBase
DashboardFileStorage
See Also