New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

OnClientLoad

This event is fired after the content is set in the content area, after the OnClientInit event and just before the editor is ready for use.  

function OnClientLoad(editor, args)
editorobjectReturns a reference to RadEditor client object
argsobjectReturns the needed information about the event

The example below demonstrates how to attach the onkeydown event to the content area of RadEditor. When the onkeydown event is raised it will alert the key code of the pressed button:

ASP.NET
<script type="text/javascript">
	function OnClientLoad(editor, args) {

		editor.attachEventHandler("onkeydown", function (e) {
			alert("Content area key down " + e.keyCode);
		});
	}
</script>

<telerik:RadEditor RenderMode="Lightweight" runat="server" ID="RadEditor1" OnClientLoad="OnClientLoad"></telerik:RadEditor> 
Not finding the help you need?
Contact Support