Show theme settings Shopping cart Download trialFree Trial
Cambria
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Client-Side Events

H
AA
UN
RE
AB
V
X
C
ZF
FN
FF
FS
FG
FK
7
1
2
3
4
5
6
FC
I
E
ZP
PG
U
N
M
AO
AI
8
AL
AC
AR
AJ
K
H
ZS
L
ZE
FD
R
SA
N
ZP
B
ZT
T
ZI
P
ZL
K
I
ZH
H
O
PN
PC
TE
X
ZS
U
P
ZS
SP
M
O
SZ
J
B
ZB
PC
RE
TO
T
UP
A
CA
IN
IS
UD
M
ZI
CF
I
ZM
P
FC
FR
U
ZP
Q
M
X
V
ZF
F
W
DV
L
P
ZS
R
ZV
F
JT
ZO
A
T
R
M
N
U
ZS
S
ZB
O
L
W
C
B
H
JL
ZT
K
TG
O
ZR
I
D
A
BE
L
R
ZM
M
P
ZC
BA
F
ZA
TL
TC
TR
CL
CC
CR
BL
BC
BR
N
JH
ZN
E
G
R
X
K
ZO
A
V
ZP
HO
FO
ZC
C
JD
B
SH
SA
W
C
D
TW
P
AF
AE
  • Undopo
    Undo
  • Cut
    Clipboardpo
    Clipboard
  • v
    v
    po
    po
    po
    Fontpo
    dialogboxlauncherFont
  • po
    po
    Paragraphpo
    dialogboxlauncherParagraph
  • Stylespo
    Styles
  • Editing
  • Table Style Optionspo
    Table Style Options
  • Table Stylespo
    Table Styles
  • v
    v
    Borders & Shadingspo
    dialogboxlauncherBorders & Shadings
  • Navigation
  • Options
  • Header from Top:
    +
    -
    Footer from Bottom:
    +
    -
    Positionpo
    Position
  • Close
  • v
    Shape Stylespo
    Shape Styles
  • dialogboxlauncherArrange
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Hyperlinks 
Additional Web Resources 
 
To help you better use our software, we provide numerous resources describing the 
best practices for embedding our ASPxRichEdit control in your real-life applications. 
Online Documentation  
On the Developer Express Web Site, you have permanent access to the ASPxRichEdit's 
online documentation. The online documentation is easy to use and navigate, and 
contains the most recent changes which may not yet be included in the offline 
documentation shipped with the product.  
Support Center & Code Central  
Support Center is the primary channel where you can get answers to your questions, 
report bugs and make suggestions. Whenever you want to create a new issue (ask a 
question, post a bug or a request) we advise that you look through the currently posted 
issues. A similar issue may already have been reported, so you'll find a quick answer.  
The Code Central is designed to make it easier for you to locate sample code, 
knowledgebase code, code provided by us as part of solving a support incident, etc. It 
is a web application that lets you search our sample code database, sort or group or 
filter the results, view a preview of the sample in the grid, or click on it to see the whole 
thing. All you need to do is click on the sample download button on the website, answer 
the browser's "what should I do with this file?" security dialog, and after a moment or 
two, you'll be presented with the sample project in Visual Studio ready for you to 
peruse the code, or compile and run it.  
 
To the top 
Sender:DemoRichEdit
EventType:DocumentFormatted
Arguments:pageCount = 1

Sender:DemoRichEdit
EventType:DocumentFormatted
Arguments:pageCount = 1

Sender:DemoRichEdit
EventType:SelectionChanged

Sender:DemoRichEdit
EventType:DocumentLoaded

Sender:DemoRichEdit
EventType:Init

Sender:DemoRichEdit
EventType:GotFocus

Clear
Trace Events:




















Check All
Uncheck All
Did this demo address your needs?
If you’d like us to extend this demo further, please describe your needs below.
Thank you in advance for your cooperation.
SEND FEEDBACK


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, PointerUp - For a mouse pointer, fires when a user presses or releases a mouse button or wheel while the mouse pointer is over the Rich Text Editor. For touch and pen pointers, fires when a pointer contacts or stops physical contact with a digitizer.
  • 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.

Collapse/Expand
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
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxRichEditDemos