DashboardFileStorage Class

A file storage used to hold dashboards.

Namespace: DevExpress.DashboardWeb

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

Declaration

public class DashboardFileStorage :
    DashboardStorageBase,
    IEditableDashboardStorage,
    IDashboardStorage
Public Class DashboardFileStorage
    Inherits DashboardStorageBase
    Implements IEditableDashboardStorage,
               IDashboardStorage

Use the DashboardService.SetDashboardStorage static 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.

Examples

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