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

How do I resize the RadEditor when the window is resized.

1 Answer 83 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Sudhir
Top achievements
Rank 1
Sudhir asked on 27 Jul 2008, 01:54 PM
How can I resize a radeditor to fit the screen when a window is resized. I tried using the setsize property together with the windows onresize property. It works fine with IE7 but it doesnt work with IE6.

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 29 Jul 2008, 12:33 PM
Hi Sudhir,

You can use the editor's Toggle Screen Mode mode functionality to achieve the desired behavior e.g.
<script type="text/javascript">  
    function OnClientLoad(editor, args)  
    {  
        editor.fire("ToggleScreenMode");  
    }  
</script>  
<telerik:RadEditor ID="RadEditor2" runat="server" OnClientLoad="OnClientLoad">  
</telerik:RadEditor> 

In addition you may review the following help article:
http://www.telerik.com/help/aspnet-ajax/editor_setsize.html

I hope this helps.

Sincerely,
George
the Telerik team

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