Back to Devexpress

DashboardFileStorage Class

dashboard-devexpress-dot-dashboardweb-17ebba3b.md

latest2.9 KB
Original Source

DashboardFileStorage Class

A file storage used to hold dashboards.

Namespace : DevExpress.DashboardWeb

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

NuGet Package : DevExpress.Web.Dashboard.Common

Declaration

csharp
public class DashboardFileStorage :
    DashboardStorageBase
vb
Public Class DashboardFileStorage
    Inherits DashboardStorageBase

Remarks

Use the DashboardConfigurator.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.

View Example

cs
DashboardFileStorage dashboardFileStorage = new DashboardFileStorage("~/App_Data/Dashboards");
ASPxDashboard1.SetDashboardStorage(dashboardFileStorage);
vb
Dim dashboardFileStorage As New DashboardFileStorage("~/App_Data/Dashboards")
ASPxDashboard1.SetDashboardStorage(dashboardFileStorage)

Implements

IEditableDashboardStorage

IDashboardStorage

Inheritance

Object DashboardStorageBase DashboardFileStorage

See Also

DashboardFileStorage Members

DevExpress.DashboardWeb Namespace