The requested page is not available for the requested platform. You are viewing the content for Default platform.

DashboardConfigurator.SetDashboardStorage(DashboardFileStorage) Method

Specifies a file storage of dashboards for the Web Dashboard.

Namespace: DevExpress.DashboardWeb

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

Declaration

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

Parameters

Name Type Description
fileStorage DashboardFileStorage

A DashboardFileStorage object that is the file storage of dashboards.

Remarks

Important

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