RadControls for ASP.NET AJAX Sets the width and height of the RadEditor.
function
setSize
(width, height)
|
width | integer | Sets the width of RadEditor in pixels. |
height | integer | Sets 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
CopyASPX
<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