Back to Devexpress

DashboardUrlStateOptionBuilder.IncludeDashboardStateToUrl(Boolean) Method

dashboard-devexpress-dot-dashboardaspnetcore-dot-dashboardurlstateoptionbuilder-dot-includedashboardstatetourl-x28-system-dot-boolean-x29.md

latest2.3 KB
Original Source

DashboardUrlStateOptionBuilder.IncludeDashboardStateToUrl(Boolean) Method

Specifies whether the dashboard state (such as the master filtering state) is included in the Web Dashboard’s URL.

Namespace : DevExpress.DashboardAspNetCore

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

NuGet Package : DevExpress.AspNetCore.Dashboard

Declaration

csharp
public DashboardUrlStateOptionBuilder IncludeDashboardStateToUrl(
    bool includeDashboardStateToUrl
)
vb
Public Function IncludeDashboardStateToUrl(
    includeDashboardStateToUrl As Boolean
) As DashboardUrlStateOptionBuilder

Parameters

NameTypeDescription
includeDashboardStateToUrlBoolean

true to include the dashboard state in the Web Dashboard’s URL; otherwise, false.

|

Returns

TypeDescription
DashboardUrlStateOptionBuilder

A reference to this instance after the operation has completed.

|

Remarks

Note that the IncludeDashboardStateToUrl property is in effect when the DashboardBuilder.WorkingMode is set to WorkingMode.Viewer or WorkingMode.ViewerOnly.

Note

The Web Dashboard automatically removes the dashboard state from a long URL string to avoid cases when the URL is truncated by a web browser.

See Also

DashboardUrlStateOptionBuilder Class

DashboardUrlStateOptionBuilder Members

DevExpress.DashboardAspNetCore Namespace