Skip to main content

DashboardBuilder.ShowConfirmationOnBrowserClosing(Boolean) Method

Specifies whether to show a browser warning if an end-user attempts to leave the page with unsaved data.

Namespace: DevExpress.DashboardAspNetCore

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

NuGet Package: DevExpress.AspNetCore.Dashboard

#Declaration

public DashboardBuilder ShowConfirmationOnBrowserClosing(
    bool showConfirmationOnBrowserClosing
)

#Parameters

Name Type Description
showConfirmationOnBrowserClosing Boolean

true, to show dialog; otherwise, false.

#Returns

Type Description
DashboardBuilder

A reference to this instance after the operation has completed.

See Also