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

editor height 100% inside a frame(IE)

2 Answers 87 Views
Editor
This is a migrated thread and some comments may be shown as answers.
tasos
Top achievements
Rank 1
tasos asked on 07 Jun 2010, 07:02 PM
Hello.I'm trying to insert an editor inside an i-frame with height 100%.It doesn't work in ie7.It works in Firefox thought.
Using XHTML 1.0 Transitional.
Any ideas?

2 Answers, 1 is accepted

Sort by
0
tasos
Top achievements
Rank 1
answered on 09 Jun 2010, 07:56 PM
removed the doctype and it's ok...
0
Rumen
Telerik team
answered on 10 Jun 2010, 09:17 AM
Hi Tasos,

Please, note that RadEditor for ASP.NET AJAX does not support height values in percents.
In order to place the editor in fullscreen mode on load use the following javascript:

<script type="text/javascript">  
function OnClientLoad(editor)  
{  
     editor.fire("ToggleScreenMode"); 
</script> 
             

Attach the OnClientLoad event to the OnClientLoad property of the editor control.

If you want to set only the height in percents you should write client-side code that will resize the content area iframe element of RadEditor and its parent table, tr, td and div elements.

Regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
tasos
Top achievements
Rank 1
Answers by
tasos
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or