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

ASPxRichEdit - How to insert text to the end of the document on the client side

$
0
0
The ASPxRichEdit control is shipped with the client API allowing you to manipulate with document content on the client side. The client API includes document APIselection API and client commands:

- The document API provides resources for receiving the current information about document structural elements.
- The selection API provides resources for positioning the cursor and select elements within a document.
- The client commands provide resources to modify the document content.

This example demonstrates how to insert text to the end of the document on the client side. The ASPxRichEdit includes a custom ribbon button: clicks on this item are processed using the CustomCommandExecuted client event. The event handler identifies the custom item via a command name and includes client commands and the selection API to insert text.

Viewing all articles
Browse latest Browse all 7205


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>