This sample demonstrates the capabilities of the DevExpress client-side event management technology. All available extension-specific client-side events are traced in this demo. Play with the DevExpress ASP.NET MVC Rich Text Editor (RichEdit extension) interface elements or modify the document content to initiate client-side events.
The RichEdit extension 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 extension'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 extension 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.