Skip to main content

ScriptResourceBlockExtension.AddDashboard(ScriptSettings) Method

Adds the scripts required for the ASP.NET Core Dashboard.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v24.1.AspNetCore.dll

NuGet Package: DevExpress.AspNetCore.Dashboard

Declaration

public static ScriptSettings AddDashboard(
    this ScriptSettings settings
)

Parameters

Name Type Description
settings ScriptSettings

A ScriptSettings object that is a script required for the ASP.NET Core Dashboard.

Returns

Type Description
ScriptSettings

A ScriptSettings object that is a script required for the ASP.NET Core Dashboard.

Remarks

Call the AddDashboard method to display the Dashboard Control:

<body>
  @Html.DevExpress().Scripts(settings => settings.AddDashboard())
</body>
See Also