dashboard-116299-web-dashboard-integrate-dashboard-component-aspnet-web-forms-dashboard-control-prepare-dashboard-storage.md
Dashboard storage is a location of dashboards you use in your Web Dashboard application. Users can save new dashboards to this storage and open existing dashboards.
The in-memory storage is a DashboardInMemoryStorage instance. If you do not register your dashboard storage, the Web Dashboard creates an in-memory storage and uses it to keep dashboards.
A file storage is used to keep dashboard XML definitions in a file system (for example, on a server). Create a DashboardFileStorage instance to use this storage type.
You can also use the ASPxDashboard.DashboardStorageFolder property to set a path to a folder used to keep dashboards. This action is the equivalent of creating DashboardFileStorage.
You can manage dashboards in your own way. Implement the IDashboardStorage or IEditableDashboardStorage interfaces and configure methods used to manage dashboards:
IDashboardStorage.GetAvailableDashboardsInfoReturns information about stored dashboards.IDashboardStorage.LoadDashboardAllows you to load the dashboard from the storage.IDashboardStorage.SaveDashboardAllows you to save the dashboard to the storage.IEditableDashboardStorage.AddDashboardAllows you to add a new dashboard to the storage.
View Example: How to save dashboards to a DataSetView Example: How to Load and Save Dashboards from/to a Database
This storage is used for dashboards created in Visual Studio at design time.
You can use DashboardTypeStorage only in Viewer mode.
To register dashboard storage for the ASPxDashboard control, pass the newly created storage to the ASPxDashboard.SetDashboardStorage or DashboardConfigurator.SetDashboardStorage method. The selected method depends on the server-side API used in your app.
See the following topic for information about access rights: Security Considerations.
See the following topic for information how to load a dashboard: Load a Dashboard in ASP.NET Web Forms.