getting width
To get the width of the editor, first get the editor's HTML element, then retrieve the style.width.
function onClientLoad(editor, args)
{
alert('Editor width is: ' + editor.get_element().style.width);
}
Controls / Editor / Client Side Programming / Methods
New to Telerik UI for ASP.NET AJAX? Download free 30-day trial
To get the width of the editor, first get the editor's HTML element, then retrieve the style.width.
function onClientLoad(editor, args)
{
alert('Editor width is: ' + editor.get_element().style.width);
}
Copyright © 2023 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.