Skip to main content

IDashboardStorage.GetAvailableDashboardsInfo() Method

Gets information about dashboards stored in the current IDashboardStorage.

Namespace: DevExpress.DashboardWeb

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

NuGet Package: DevExpress.Web.Dashboard.Common

Declaration

IEnumerable<DashboardInfo> GetAvailableDashboardsInfo()

Returns

Type Description
IEnumerable<DashboardInfo>

A collection of DashboardInfo objects that contain information about dashboards stored in the current IDashboardStorage.

Remarks

The code snippet below shows how to get info about dashboards located in the dashboard file storage.

IDashboardStorage storage = new DashboardFileStorage("App_Data\\Dashboards");
var dashboardList = storage.GetAvailableDashboardsInfo();

The following examples are based on different platforms and show how to create a custom dashboard storage to load and save dashboards to a database:

View Example: ASP.NET Core View Example: ASP.NET MVC View Example: ASP.NET Web Forms

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetAvailableDashboardsInfo() 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