Prepare a Dashboard Storage
- 2 minutes to read
The Web Dashboard requires creating a special storage used to keep dashboards. End-users can save new dashboards to this storage and open existing dashboards.
The following storage types are available:
- In-Memory Storage
- File Storage
- Custom Storage
- Dashboard Type Storage (works in Viewer mode only)
To specify a storage for the ASPxDashboard control, initialize the required storage type and pass the resulting object to the ASPxDashboard.SetDashboardStorage or DashboardConfigurator.SetDashboardStorage method depending on the server-side API that is used.
Storage Type | Class | Description |
---|---|---|
In-Memory Storage | An in-memory dashboard storage is used to keep dashboards by default. Note If you do not create a dashboard storage, the Web Dashboard uses the DashboardInMemoryStorage by default. | |
File Storage | A file dashboard storage is used to keep dashboards in a file system. Note For the ASPxDashboard control, you can specify a folder to store dashboards using the ASPxDashboard.DashboardStorageFolder property. | |
Custom Storage | Implementation of IDashboardStorage or IEditableDashboardStorage | You can introduce your logic for managing dashboards. For this, implement the IDashboardStorage or IEditableDashboardStorage interfaces that provide an API used to manage dashboards:
How to: Save Dashboards Created in ASPxDashboard to a DataSet |
Dashboard Type Storage | A storage of dashboards created in Visual Studio at design time. Note that you can use DashboardTypeStorage in Viewer mode only. |