TX Text Control .NET Server

Javascript: TXTextControl.saveDocumentQuestionDialogEnabled Property

PropertyDeprecated|Introduced in 24.0

Description

Obsolete. This property will be removed in one of the next versions. Gets or sets if a confirmation dialog should be shown before discarding unsaved changes.

Syntax

<boolean> TXTextControl.saveDocumentQuestionDialogEnabled

Examples

The following example demonstrates TXTextControl.saveDocumentQuestionDialogEnabled in a practical document-editing workflow. Obsolete. This property will be removed in one of the next versions. Gets or sets if a confirmation dialog should be shown before discarding unsaved changes.

const saveDocumentQuestionDialogEnabled = tXTextControl.saveDocumentQuestionDialogEnabled;
console.log("save document question dialog enabled:", saveDocumentQuestionDialogEnabled);