DashboardConfigurator.SetDashboardStorage(DashboardFileStorage) Method
Specifies a file storage of dashboards for the Web Dashboard.
Namespace: DevExpress.DashboardWeb
Assembly: DevExpress.Dashboard.v24.2.Web.dll
NuGet Package: DevExpress.Web.Dashboard.Common
#Declaration
public void SetDashboardStorage(
DashboardFileStorage fileStorage
)
#Parameters
Name | Type | Description |
---|---|---|
file |
Dashboard |
A Dashboard |
#Remarks
Tip
For information on how to use the Dashboard
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")));
// ...
}
#Related GitHub Examples
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.