Back to Devexpress

DashboardBuilder.ShowConfirmationOnBrowserClosing(Boolean) Method

dashboard-devexpress-dot-dashboardaspnetcore-dot-dashboardbuilder-dot-showconfirmationonbrowserclosing-x28-system-dot-boolean-x29.md

latest1.7 KB
Original Source

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.v25.2.AspNetCore.dll

NuGet Package : DevExpress.AspNetCore.Dashboard

Declaration

csharp
public DashboardBuilder ShowConfirmationOnBrowserClosing(
    bool showConfirmationOnBrowserClosing
)
vb
Public Function ShowConfirmationOnBrowserClosing(
    showConfirmationOnBrowserClosing As Boolean
) As DashboardBuilder

Parameters

NameTypeDescription
showConfirmationOnBrowserClosingBoolean

true , to show dialog; otherwise, false.

|

Returns

TypeDescription
DashboardBuilder

A reference to this instance after the operation has completed.

|

See Also

DashboardBuilder Class

DashboardBuilder Members

DevExpress.DashboardAspNetCore Namespace