Change Theme Settings
Change Theme Settings
Show All Themes

Client-Side Events

  • Undopo
  • Cut
  • v
  • po
  • Stylespo
  • Editing
  • Table Style Optionspo
    Table Style Options
  • Table Stylespo
    Table Styles
  • v
    Borders & Shadingspo
    dialogboxlauncherBorders & Shadings
  • Navigation
  • Options
  • Header from Top:
    Footer from Bottom:
  • Close
  • v
    Shape Stylespo
    Shape Styles
  • dialogboxlauncherArrange

Trace Events:

Check All
Uncheck All

This sample demonstrates the capabilities of the DevExpress client-side event management technology. All available control-specific client-side events are traced in this demo. Play with the DevExpress ASP.NET Rich Text Editor (ASPxRichEdit) interface elements or modify the document content to initiate client-side events.

The RichEdit provides advanced client-side event support. Client-side events are triggered in response to specific actions or events on the client, and cover all the key elements of the control's functionality. Thus, they give you complete control over RichEdit client-side behavior.

The following client events are available for the RichEdit.

  • Init - Occurs on the client side after the control has been initialized, but prior to it being displayed within the browser.
  • GotFocus, LostFocus - Occurs when the RichEdit receives or loses focus.
  • DocumentChanged - Fires if any change is made to the RichEdit's document by an end-user.
  • ContentInserted, ContentRemoved - Fires when the RichEdit's document content is modified (by adding a new content or removing the existing one).
  • CharacterPropertiesChanged, ParagraphPropertiesChanged - Fires when formatting settings are applied to a character(s) interval or paragraph within the RichEdit's document.
  • BeginSynchronization, EndSynchronization - Fires before and after the client-server synchronization is performed to apply changes and synchronize the server and client document models.
  • SelectionChanged - Fires when a selection is changed in the RichEdit.
  • KeyDown, KeyUp - Fires when any key is pressed or released while the RichEdit has focus.
  • PointerDown, Pointer Up - Fires when a mouse button is pressed or released while the mouse cursor is over the RichEdit.
  • HyperlinkClick - Fires after a hyperlink is clicked within the RichEdit's document.
  • ActiveSubDocumentChanged - Fires when the active sub-document is substituted with another one within the RichEdit's document.
  • PopupMenuShowing - Fires when the RichEdit's context menu is invoked.

To learn more on client-side events, refer to the Client-Side Events help topic.

Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxRichEditDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxRichEditDemos