Skip to main content

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 (richEdit.HasUnsavedChanges()) {
    // ...
}

Refer to the following section for more information about client-side events: Client API.

See Also