New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


This event is fired after a command is executed.

function OnClientCommandExecuted(editor, args)
editor object Returns a reference to RadEditor client object
args object Returns the needed information about the event
args parameter methods
args.get_commandName() Returns the command name
args.get_value() Returns the value of the executed tool
args.set_value() Sets the new content to be pasted in RadEditor
args.get_cancel(true) Cancels the command execution

<script type="text/javascript">
    function OnClientCommandExecuted(editor, args)
        alert("Executed command was " + args.get_commandName());
<telerik:radeditor runat="server" ID="RadEditor1" OnClientCommandExecuted="OnClientCommandExecuted">
In this article