Edit this page


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>
Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article