This is a migrated thread and some comments may be shown as answers.

don't want the scrollbar to appear on radeditor

1 Answer 78 Views
Editor
This is a migrated thread and some comments may be shown as answers.
v
Top achievements
Rank 1
v asked on 18 Mar 2009, 08:16 AM
I don't want the scroll bar to appear on the editor. I need the radeditor to be of fixed height  and width.
So that I can indicate to the user that only limited text needs to be entered as per the height of the editor. 

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 20 Mar 2009, 04:52 PM
Hi,

You can use the code below to apply overflow: hidden to the content area of RadEditor:

    <script type="text/javascript">
    function OnClientLoad(editor)
    {
        editor.get_contentArea().style.overflow = "hidden";
    }
    </script>
    <telerik:RadEditor runat="server" ID="RadEditor1" OnClientLoad="OnClientLoad">    </telerik:RadEditor>

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
v
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or