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