Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]Welcome to DevExpress .NET Documentation
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Data.Linq
  [Expand]DevExpress.Web
  [Expand]DevExpress.Web.ASPxGauges
  [Expand]DevExpress.Web.ASPxGauges.Base
  [Expand]DevExpress.Web.ASPxGauges.Scripts
  [Expand]DevExpress.Web.ASPxHtmlEditor
  [Expand]DevExpress.Web.ASPxHtmlEditor.Localization
  [Expand]DevExpress.Web.ASPxHtmlEditor.Scripts
  [Expand]DevExpress.Web.ASPxPivotGrid
  [Expand]DevExpress.Web.ASPxPivotGrid.Data
  [Expand]DevExpress.Web.ASPxPivotGrid.HtmlControls
  [Expand]DevExpress.Web.ASPxPivotGrid.Scripts
  [Collapse]DevExpress.Web.ASPxRichEdit
   [Collapse]ASPxRichEdit Class
     ASPxRichEdit Members
     ASPxRichEdit Constructor
    [Collapse]ASPxRichEdit Properties
      ActiveTabIndex Property
      AssociatedRibbonID Property
      AutoSaveMode Property
      AutoSaveTimeout Property
      ClientInstanceName Property
      ClientSideEvents Property
      ConfirmOnLosingChanges Property
      DocumentId Property
      EnableClientSideAPI Property
      Enabled Property
      Images Property
      ImagesRuler Property
      ReadOnly Property
      RibbonContextTabCategories Property
      RibbonMode Property
      RibbonTabs Property
      Settings Property
      SettingsDialogs Property
      SettingsDocumentSelector Property
      ShowConfirmOnLosingChanges Property
      ShowStatusBar Property
      Styles Property
      StylesButton Property
      StylesEditors Property
      StylesFileManager Property
      StylesPopupMenu Property
      StylesRibbon Property
      StylesRuler Property
      StylesStatusBar Property
      ViewMergedData Property
      WorkDirectory Property
    [Expand]ASPxRichEdit Events
    [Expand]ASPxRichEdit Methods
   [Expand]ASPxRichEditAuthenticationSettings Class
   [Expand]ASPxRichEditBehaviorSettings Class
   [Expand]ASPxRichEditBookmarkSettings Class
   [Expand]ASPxRichEditCharacterFormattingDetailedSettings Class
   [Expand]ASPxRichEditDocumentCapabilitiesSettings Class
   [Expand]ASPxRichEditHorizontalRulerSettings Class
   [Expand]ASPxRichEditNumberingSettings Class
   [Expand]ASPxRichEditOptionsSpelling Class
   [Expand]ASPxRichEditRangePermissionSettings Class
   [Expand]ASPxRichEditSettings Class
   [Expand]ASPxRichEditSettingsBase Class
   [Expand]ASPxRichEditSpellCheckerSettings Class
   [Expand]RichEditClientSideEvents Class
   [Expand]RichEditDialogSettings Class
   [Expand]RichEditDocumentSelectorCommonSettings Class
   [Expand]RichEditDocumentSelectorSettings Class
   [Expand]RichEditDocumentSelectorUploadSettings Class
   [Expand]RichEditFileManager Class
   [Expand]RichEditFileManagerCommonSettings Class
   [Expand]RichEditFileManagerEditingSettings Class
   [Expand]RichEditFileManagerFoldersSettings Class
   [Expand]RichEditFileManagerStyles Class
   [Expand]RichEditFileManagerValidationSettings Class
   [Expand]RichEditFolderManager Class
   [Expand]RichEditImages Class
   [Expand]RichEditInsertLinkDialogSettings Class
   [Expand]RichEditInsertPictureDialogSettings Class
   [Expand]RichEditPopupMenuItem Class
   [Expand]RichEditPopupMenuItemCollection Class
   [Expand]RichEditRibbonContextTabCategoryCollection Class
    RichEditRibbonMode Enumeration
   [Expand]RichEditRibbonTabCollection Class
   [Expand]RichEditRulerImages Class
   [Expand]RichEditSaveFileDialogSettings Class
    RichEditUnit Enumeration
    SaveFileDialogDisplaySectionMode Enumeration
  [Expand]DevExpress.Web.ASPxRichEdit.Localization
  [Expand]DevExpress.Web.ASPxRichEdit.Scripts
  [Expand]DevExpress.Web.ASPxScheduler
  [Expand]DevExpress.Web.ASPxScheduler.Commands.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [Expand]DevExpress.Web.ASPxScheduler.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Drawing
  [Expand]DevExpress.Web.ASPxScheduler.Localization
  [Expand]DevExpress.Web.ASPxScheduler.Reporting
  [Expand]DevExpress.Web.ASPxScheduler.Scripts
  [Expand]DevExpress.Web.ASPxSpellChecker
  [Expand]DevExpress.Web.ASPxSpellChecker.Localization
  [Expand]DevExpress.Web.ASPxSpellChecker.Scripts
  [Expand]DevExpress.Web.ASPxSpreadsheet
  [Expand]DevExpress.Web.ASPxSpreadsheet.Localization
  [Expand]DevExpress.Web.ASPxSpreadsheet.Scripts
  [Expand]DevExpress.Web.ASPxTreeList
  [Expand]DevExpress.Web.ASPxTreeList.Internal
  [Expand]DevExpress.Web.ASPxTreeList.Localization
  [Expand]DevExpress.Web.ASPxTreeList.Scripts
  [Expand]DevExpress.Web.Captcha
  [Expand]DevExpress.Web.Data
  [Expand]DevExpress.Web.Internal
  [Expand]DevExpress.Web.Localization
  [Expand]DevExpress.Web.Mvc
  [Expand]DevExpress.Web.Mvc.BinderSettings
  [Expand]DevExpress.Web.Mvc.Controllers
  [Expand]DevExpress.Web.MVC.Scripts
  [Expand]DevExpress.Web.Mvc.UI
  [Expand]DevExpress.Web.Office
  [Expand]DevExpress.Web.Office.Internal
  [Expand]DevExpress.Web.Rendering
  [Expand]DevExpress.Web.Scripts
  [Expand]DevExpress.XtraCharts.Web
  [Expand]DevExpress.XtraCharts.Web.Designer
  [Expand]DevExpress.XtraCharts.Web.Scripts
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

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.v17.2.dll

Expanded Syntax

Property value

Type: Boolean
true, to display the confirmation alert; otherwise, false.
The default is true.

Expanded 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.

Expanded See Also

Is this topic helpful?​​​​​​​