The requested page is not available for the requested platform. You are viewing the content for Default platform.

ScriptResourceBlockExtension.AddDashboard(ScriptSettings) Method

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

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v18.2.AspNetCore.dll

Declaration

public static ScriptSettings AddDashboard(
    this ScriptSettings settings
)
<ExtensionAttribute>
Public Shared Function AddDashboard(
    settings As ScriptSettings
) As ScriptSettings

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 on an AJAX request:

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