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

RadEditor in RadSplitter Resize Error

3 Answers 62 Views
UI for ASP.NET AJAX in ASP.NET MVC
This is a migrated thread and some comments may be shown as answers.
Simon Colmer
Top achievements
Rank 1
Simon Colmer asked on 22 Sep 2009, 08:51 AM
Hey guys, dont suppose you can help me, im getting some odd issues with a RadEditor that is nested in a RadSplitter.

1) In internet explorer on local machine the resizing works fine, however in firefox it doesnt seem to be working
2) (see image) As you can see in firefox the internal size of the editor isn't resizing
3) Also, i found if you do a partial postback the page starts working!

I cant see why its doing this, any help would be awesome!

Image:
http://x-volt.com/pics/TelerikError1.png

Source (aspx only):
http://x-volt.com/hosting/editor.rar

Thanks,

Simon

3 Answers, 1 is accepted

Sort by
0
Simon Colmer
Top achievements
Rank 1
answered on 24 Sep 2009, 08:44 AM
Bump
0
Tsvetie
Telerik team
answered on 24 Sep 2009, 02:35 PM
Hello Simon,
The RadEditor does not support size in percentages - in case you remove the settings from your RadEditor definition, your code will work as expected:
<telerik:RadEditor ID="uxEditor" Width="99%" OnClientLoad="OnClientLoad" Height="99%" 
    runat="server" Skin="Office2007" EditModes="All" ToolsFile="Toolstrip.xml" ToolbarMode="Default" 
    EnableResize="false" ContentFilters="IndentHTMLContent"
    <Content></Content
</telerik:RadEditor> 

You can use the resized client event of the RadPane that is parent of the editor in order to set the correct size for the editor instead of the window.resize event.

I have attached a modified version of your page that demonstrates the suggested changes.

Greetings,
Tsvetie
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Simon Colmer
Top achievements
Rank 1
answered on 24 Sep 2009, 02:57 PM
Brilliant! This works perfectly!

Thanks again

Simon
Tags
UI for ASP.NET AJAX in ASP.NET MVC
Asked by
Simon Colmer
Top achievements
Rank 1
Answers by
Simon Colmer
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or