Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxHtmlEditor - How to implement custom toolbar buttons and modify default button functionality

$
0
0

ASPxHtmlEditor allows you to provide custom toolbar buttons and modify the functionality of default buttons.

In this example, two custom buttons are created: Clear and Add Signature. When a button is clicked, the CustomCommand event is triggered. In the event handler, the default select all and delete commands are executed using the ExecuteCommand method.

Additionally, we have modified the functionality of the default insert ordered list command. In the CommandExecuted event handler, which is triggered after the command is processed, we change the type of ordered list markers to Roman numerals.


Viewing all articles
Browse latest Browse all 7205

Trending Articles