Skip to main content
All docs
V18.2

DashboardSourceModel.DashboardLoading Property

Allows you to load a dashboard at runtime.

Namespace: DevExpress.DashboardWeb.Mvc

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

Declaration

public DashboardLoadingEventHandler DashboardLoading { get; set; }

Property Value

Type Description
DashboardLoadingEventHandler

A DashboardLoadingEventHandler delegate method allowing you to implement custom processing.

Remarks

Implement a DashboardLoadingEventHandler delegate method and assign it to the DashboardLoading property. For more implementation details, refer to the DashboardLoadingEventHandler delegate description.

Note

The method referenced by the DashboardLoadingEventHandler delegate is executed if the DashboardSourceModel.DashboardId property is assigned.

Example

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


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