The OnClientSelectionChange event signals that the selection within the editor content area has changed.

function OnClientSelectionChange(editor, args)
editor object Returns a reference to RadEditor client object
args object Returns the needed information about the event

The example below alerts the editor content when the user clicks inside the content area or makes a selection:

<script type="text/javascript">
    function OnClientSelectionChange(editor, args)
        alert("selection changed" + editor.getSelectionHtml());
<telerik:radeditor runat="server" ID="RadEditor1"
         <strong>Sample Content</strong>
In this article
Not finding the help you need? Improve this article