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

ASPxRichEdit.ShowConfirmOnLosingChanges Property

Gets or sets a value that specifies whether a confirmation alert should be displayed when any unsaved changes are going to be lost due to an end-user action.

Namespace: DevExpress.Web.ASPxRichEdit

Assembly: DevExpress.Web.ASPxRichEdit.v19.2.dll

Declaration

[DefaultValue(true)]
public bool ShowConfirmOnLosingChanges { get; set; }
<DefaultValue(True)>
Public Property ShowConfirmOnLosingChanges As Boolean

Property Value

Type Default Description
Boolean

true

true, to display the confirmation alert; otherwise, false.

Remarks

Use the ShowConfirmOnLosingChanges property to disable/enable a confirmation alert displayed when an end-user tries to perform an action that might force the ASPxRichEdit to lose any currently unsaved data. For instance, an end-user can modify data within a document and then click the File - New button. As a result, an alert to confirm losing changes will appear.

Note

The confirmation alert cannot be displayed on iOS devices due to their limitations. Safari for mobile devices does not the provide necessary events that can be used for displaying the confirmation message.

Note

When the ShowConfirmOnLosingChanges property is set to true, the JavaScript code contained within the href link attribute is not executed in Internet Explorer. To learn more, see the Links / "A" tags do not work in IE together with GridView in Batch Edit Mode / SpreadSheet / RichEdit Knowledge Base Article.

See Also