Features - Client-Side Functionality

Cut (Ctrl+X)Copy (Ctrl+C)Paste (Ctrl+V)
Undo (Ctrl+Z)Redo (Ctrl+Y)
Remove Format
SuperscriptSubscript
IndentOutdent
Insert LinkRemove LinkInsert Image
v
v
Bold (CTRL+B)Italic (Ctrl+I)UnderlineStrikethrough
Align LeftAlign CenterAlign RightJustify
Back Color
>
Fore Color
>
Paste TemplateDelete All
Design
HTML
Preview
Description
C#
VB
ASPX
JS

This demo illustrates how to execute custom commands within the ASPxHtmlEditor on the client.

A custom command is a sequence of calls to standard editor commands. Custom commands can be executed by handling the editor's client CustomCommand event. This event fires if a command name associated with the clicked toolbar item doesn't coincide with any standard predefined editor command.

In this demo, two custom commands are implemented: one deletes the editor's content, and another inserts an e-mail template text. To initiate these commands, a custom toolbar with two items is created. Custom item command names are 'deleteall' and 'pasteemailtemplate', respectively.