Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[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
  [Collapse]DevExpress.Web.ASPxHtmlEditor.Scripts
   [Expand]ASPxClientCommandConsts Class
   [Collapse]ASPxClientHtmlEditor Class
     ASPxClientHtmlEditor Members
     ASPxClientHtmlEditor Constructor
    [Collapse]ASPxClientHtmlEditor Events
      ActiveTabChanged Event
      ActiveTabChanging Event
      BeforePaste Event
      BeginCallback Event
      CallbackError Event
      CommandExecuted Event
      CommandExecuting Event
      ContextMenuShowing Event
      CustomCommand Event
      CustomDataCallback Event
      CustomDialogClosed Event
      CustomDialogClosing Event
      CustomDialogOpened Event
      DialogClosed Event
      DialogClosing Event
      DialogInitialized Event
      EndCallback Event
      GotFocus Event
      HtmlChanged Event
      LostFocus Event
      SelectionChanged Event
      SpellingChecked Event
      Validation Event
    [Expand]ASPxClientHtmlEditor Methods
   [Expand]ASPxClientHtmlEditorAudioDialog Class
   [Expand]ASPxClientHtmlEditorBeforePasteEventArgs Class
    ASPxClientHtmlEditorBeforePasteEventHandler Delegate
   [Expand]ASPxClientHtmlEditorChangeAudioCommandArguments Class
   [Expand]ASPxClientHtmlEditorChangeElementPropertiesDialog Class
   [Expand]ASPxClientHtmlEditorChangeFlashCommandArguments Class
   [Expand]ASPxClientHtmlEditorChangeHtml5MediaElementCommandArguments Class
   [Expand]ASPxClientHtmlEditorChangeImageCommandArguments Class
   [Expand]ASPxClientHtmlEditorChangeMediaElementCommandArguments Class
   [Expand]ASPxClientHtmlEditorChangeVideoCommandArguments Class
   [Expand]ASPxClientHtmlEditorChangeYouTubeVideoCommandArguments Class
   [Expand]ASPxClientHtmlEditorCommandArguments Class
   [Expand]ASPxClientHtmlEditorCommandEventArgs Class
    ASPxClientHtmlEditorCommandEventHandler Delegate
   [Expand]ASPxClientHtmlEditorCommandExecutingEventArgs Class
    ASPxClientHtmlEditorCommandExecutingEventHandler Delegate
   [Expand]ASPxClientHtmlEditorCommandStyleSettings Class
   [Expand]ASPxClientHtmlEditorCustomDialogClosedEventArgs Class
    ASPxClientHtmlEditorCustomDialogClosedEventHandler Delegate
   [Expand]ASPxClientHtmlEditorCustomDialogCloseEventArgsBase Class
   [Expand]ASPxClientHtmlEditorCustomDialogClosingEventArgs Class
    ASPxClientHtmlEditorCustomDialogClosingEventHandler Delegate
   [Expand]ASPxClientHtmlEditorCustomDialogEventArgs Class
    ASPxClientHtmlEditorCustomDialogEventHandler Delegate
   [Expand]ASPxClientHtmlEditorDialogBase Class
   [Expand]ASPxClientHtmlEditorDialogClosedEventArgs Class
    ASPxClientHtmlEditorDialogClosedEventHandler Delegate
   [Expand]ASPxClientHtmlEditorDialogCloseEventArgs Class
   [Expand]ASPxClientHtmlEditorDialogClosingEventArgs Class
    ASPxClientHtmlEditorDialogClosingEventHandler Delegate
   [Expand]ASPxClientHtmlEditorDialogInitializedEventArgs Class
    ASPxClientHtmlEditorDialogInitializedEventHandler Delegate
   [Expand]ASPxClientHtmlEditorEditElementDialog Class
   [Expand]ASPxClientHtmlEditorFlashDialog Class
   [Expand]ASPxClientHtmlEditorImageDialog Class
   [Expand]ASPxClientHtmlEditorInsertAudioCommandArguments Class
   [Expand]ASPxClientHtmlEditorInsertFlashCommandArguments Class
   [Expand]ASPxClientHtmlEditorInsertImageCommandArguments Class
   [Expand]ASPxClientHtmlEditorInsertLinkCommandArguments Class
   [Expand]ASPxClientHtmlEditorInsertTableCommandArguments Class
   [Expand]ASPxClientHtmlEditorInsertTableDialog Class
   [Expand]ASPxClientHtmlEditorInsertVideoCommandArguments Class
   [Expand]ASPxClientHtmlEditorInsertYouTubeVideoCommandArguments Class
   [Expand]ASPxClientHtmlEditorLinkDialog Class
   [Expand]ASPxClientHtmlEditorMediaDialogBase Class
   [Expand]ASPxClientHtmlEditorMediaPreloadMode Class
   [Expand]ASPxClientHtmlEditorPasteFromWordDialog Class
   [Expand]ASPxClientHtmlEditorPlaceholderDialog Class
   [Expand]ASPxClientHtmlEditorSelection Class
   [Expand]ASPxClientHtmlEditorTabCancelEventArgs Class
    ASPxClientHtmlEditorTabCancelEventHandler Delegate
   [Expand]ASPxClientHtmlEditorTabEventArgs Class
    ASPxClientHtmlEditorTabEventHandler Delegate
   [Expand]ASPxClientHtmlEditorTableCellPropertiesCommandArguments Class
   [Expand]ASPxClientHtmlEditorTableCellPropertiesDialog Class
   [Expand]ASPxClientHtmlEditorTableColumnPropertiesCommandArguments Class
   [Expand]ASPxClientHtmlEditorTableColumnPropertiesDialog Class
   [Expand]ASPxClientHtmlEditorTableDialog Class
   [Expand]ASPxClientHtmlEditorTableDialogBase Class
   [Expand]ASPxClientHtmlEditorTableElementPropertiesDialog Class
   [Expand]ASPxClientHtmlEditorTablePropertiesCommandArguments Class
   [Expand]ASPxClientHtmlEditorTableRowPropertiesCommandArguments Class
   [Expand]ASPxClientHtmlEditorTableRowPropertiesDialog Class
   [Expand]ASPxClientHtmlEditorValidationEventArgs Class
    ASPxClientHtmlEditorValidationEventHandler Delegate
   [Expand]ASPxClientHtmlEditorVideoDialog Class
   [Expand]ASPxClientHtmlEditorYouTubeDialog Class
  [Expand]DevExpress.Web.ASPxPivotGrid
  [Expand]DevExpress.Web.ASPxPivotGrid.Data
  [Expand]DevExpress.Web.ASPxPivotGrid.HtmlControls
  [Expand]DevExpress.Web.ASPxPivotGrid.Scripts
  [Expand]DevExpress.Web.ASPxRichEdit
  [Expand]DevExpress.Web.ASPxRichEdit.Localization
  [Expand]DevExpress.Web.ASPxRichEdit.Scripts
  [Expand]DevExpress.Web.ASPxScheduler
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [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.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]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

ASPxClientHtmlEditor.LostFocus Event

Fires on the client side when the editor's Design View Area loses input focus.

Namespace:DevExpress.Web.ASPxHtmlEditor.Scripts
Assembly:JavaScript

Expanded Syntax

Expanded Event Data

The event handler receives an argument of type ASPxClientEventArgs containing data related to this event.

Expanded Remarks

The LostFocus event occurs on the client side before focus is moved from the Design View Area to another control within the same page or to another element of the ASPxHtmlEditor (a toolbar button, for instance). This event can be handled to perform specific actions (for instance, to validate user input) when the ASPxHtmlEditor's Design View Area loses focus.

Note

Do not attempt to set focus from within the LostFocus event handler. Doing so can cause your application to stop responding.

Expanded See Also

How would you rate this topic?​​​​​​​