Starting with v17.1, we recommend using the ASPxDashboard control or a corresponding ASP.NET MVC extension to display dashboards within web applications. Refer to the following KB articles to learn more about migration to ASPxDashboard / ASP.NET MVC Dashboard:
ASPxDashboardViewer -> ASPxDashboard
MVCxDashboardViewer -> MVCxDashboard
You can use one of the following approaches to load the dashboard to the ASPxDashboardViewer.
Create a dashboard in the DashboardDesigner and save its definition to an XML file. To open the saved dashboard, click the ASPxDashboardViewer's smart tag button. In the invoked tasks panel, click the Dashboard Source drop-down arrow, expand the Project Xml Files folder, and select the required XML file.
In code, use the ASPxDashboardViewer.DashboardSource property to specify the path to the dashboard XML file.
Create a dashboard in the Visual Studio Dashboard Designer. To open the project dashboard, click the control's smart tag button and select the dashboard from Project Dashboards in the Dashboard Source drop-down menu.
You can assign the type of the created dashboard to the ASPxDashboardViewer.DashboardSource property.