DashboardConfigurator.SetDashboardStorage(DashboardFileStorage) Method

Specifies a file storage of dashboards for the Web Dashboard.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v20.1.Web.dll


public void SetDashboardStorage(
    DashboardFileStorage fileStorage
Public Sub SetDashboardStorage(
    fileStorage As DashboardFileStorage


Name Type Description
fileStorage DashboardFileStorage

A DashboardFileStorage object that is the file storage of dashboards.



To learn how to use the DashboardConfigurator's API, see the Server-Side API Overview topic.

The following code snippet shows how to set a dashboard file storage for DashboardConfigurator:

protected void Application_Start(object sender, EventArgs e) {
    DashboardConfigurator.Default.SetDashboardStorage(new DashboardFileStorage(Server.MapPath("App_Data/Dashboards")));
    // ...         
See Also