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

IModelActionWeb.ConfirmUnsavedChanges Property

Specifies whether or not a confirmation dialog is displayed by a browser when there are unsaved changes and a user executes the current Action.

Namespace: DevExpress.ExpressApp.Web.SystemModule

Assembly: DevExpress.ExpressApp.Web.v19.1.dll


bool ConfirmUnsavedChanges { get; set; }
Property ConfirmUnsavedChanges As Boolean

Property Value

Type Default Description


true, if a confirmation dialog is enabled; otherwise, false.


The following confirmation is displayed by browser when a user clicks an Action whose ConfirmUnsavedChanges property is true.


You can change the ConfirmUnsavedChanges value in the Model Editor.


By default, the ConfirmUnsavedChanges option is set to true for the following Actions:

*** Cancel

  • ChangeVariant
  • ChooseTheme
  • DialogCancel
  • DialogClose
  • Edit
  • Logoff
  • NextObject
  • New
  • PreviousObject
  • Refresh**

These are Actions, whose execution may lead to loss of unsaved data. If you have implemented a custom Action, you can set the ConfirmUnsavedChanges property to true to display a warning dialog before your Action is executed and there are unsaved data modifications in the current View.

To disable confirmations globally, use the IModelOptionsWeb.ConfirmUnsavedChanges property of the Options node, instead.

See Also