Skip to main content
All docs
V18.2

DashboardSourceModel Class

OBSOLETE

The DashboardViewer extension is obsolete. Use the Dashboard extension instead. See https://go.devexpress.com/migration-to-web-dashboard-control.aspx for details.

A specific view model that provides various means to load the dashboard to the DashboardViewer and supply this dashboard with data.

Namespace: DevExpress.DashboardWeb.Mvc

Assembly: DevExpress.Dashboard.v18.2.Web.Mvc5.dll

Declaration

[Obsolete("The DashboardViewer extension is obsolete. Use the Dashboard extension instead. See https://go.devexpress.com/migration-to-web-dashboard-control.aspx for details.")]
public class DashboardSourceModel

Remarks

Important

This documentation applies to v16.2. Starting with v17.1, the ASPxDashboardViewer control is in maintenance mode. In v19.1, the new Web Dashboard Control replaces the old Web Dashboard Viewer. This means that the Web Dashboard Viewer will not be included in our installation packages. See our blog post for more information.

Refer to the following KB articles to learn how to migrate to ASPxDashboard / ASP.NET MVC Dashboard:

Example

The following example demonstrates how to load a dashboard to an MVC Dashboard Viewer at runtime.


@using(Html.BeginForm()) {
    @Html.Action("DashboardViewerPartial")
}

Inheritance

Object
DashboardSourceModel
See Also