Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DialogController.SaveOnAccept Property

Specifies whether to save changes made to the object represented by the current pop-up Window’s Detail View when executing the DialogController.AcceptAction.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public bool SaveOnAccept { get; set; }

#Property Value

Type Description
Boolean

true if the object represented by the current pop-up Window’s Detail View is saved when executing the DialogController.AcceptAction; otherwise, false.

#Remarks

When the pop-up Window for which the current Dialog Controller is activated contains a Detail View, the Accept button allows you to save the changes made to the current object before closing the Window. To change this behavior, set the SaveOnAccept property to false. In this instance, the Accept button only closes the Window.

By default, the SaveOnAccept property is set to true.

See Also