DashboardBuilder.OnDashboardInitializing(String) Method
Specifies the JavaScript function (or its name) executed when the DashboardInitializing event is raised.
Namespace: DevExpress.DashboardAspNetCore
Assembly: DevExpress.Dashboard.v24.1.AspNetCore.dll
NuGet Package: DevExpress.AspNetCore.Dashboard
Declaration
Parameters
Name | Type | Description |
---|---|---|
onDashboardInitializing | String | A String object containing the JavaScript function (or its name) executed when the event is raised. |
Returns
Type | Description |
---|---|
DashboardBuilder | A reference to this instance after the operation has completed. |
Remarks
The code sample below shows how to handle the dashboardInitializing
event:
@(Html.DevExpress().Dashboard("dashboardControl1")
.Width("100%")
.Height("100%")
.OnDashboardInitializing("customizeDashboard")
)
See Also