Skip to main content
A newer version of this page is available. .

ASPxClientRichEdit.HasUnsavedChanges Method

Indicates whether any unsaved changes are contained in the current document.

Declaration

HasUnsavedChanges(): boolean

Returns

Type Description
boolean

true, if the document contains unsaved changes; otherwise, false.

Remarks

The code sample below demonstrates how to use the HasUnsavedChanges method.


// ...
if (MyClientRichEditName.HasUnsavedChanges()) {
    // ...
}
See Also