A file storage used to hold dashboards.
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.
The DashboardInMemoryStorage is used by default if you do not create the dashboard storage.
The following code snippet shows how to create a dashboard file storage for the Web Dashboard.
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-create-a-web-dashboard-designer-application-t362490.
DashboardFileStorage dashboardFileStorage = new DashboardFileStorage("~/App_Data/Dashboards"); ASPxDashboard1.SetDashboardStorage(dashboardFileStorage);