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

setSize

Sets the width and height of the RadEditor.

function setSize (width, height)
widthintegerSets the width of RadEditor in pixels.
heightintegerSets the height of RadEditor in pixels.

Example1: The following example will set the editor's width and height to 600 x 600 pixels when the editor is loaded on the page

ASP.NET
<script type="text/javascript">
	function OnClientLoad(editor){
		//set the width and height of the RadEditor
		editor.setSize("800","600");
	}
</script>

<telerik:radeditor 
	runat="server" 
	ID="RadEditor1"
	OnClientLoad="OnClientLoad">
</telerik:radeditor>				

See Also

In this article
See Also
Not finding the help you need?
Contact Support