Skip to main content

DashboardConfigurator.SetDashboardStorage(DashboardFileStorage) Method

Specifies a file storage of dashboards for the Web Dashboard.

Namespace: DevExpress.DashboardWeb

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

NuGet Package: DevExpress.Web.Dashboard.Common

Declaration

public void SetDashboardStorage(
    DashboardFileStorage fileStorage
)

Parameters

Name Type Description
fileStorage DashboardFileStorage

A DashboardFileStorage object that is the file storage of dashboards.

Remarks

Tip

For information on how to use the DashboardConfigurator‘s API, see the following topic: Server-Side API Overview.

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")));
    // ...         
}

The following code snippets (auto-collected from DevExpress Examples) contain references to the SetDashboardStorage(DashboardFileStorage) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also