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

[Solved] Bug in Editor version 2009 Q2 and Q3 in IE8

1 Answer 81 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Danny Scheelings
Top achievements
Rank 1
Danny Scheelings asked on 18 Nov 2009, 12:11 PM
Hi,

I found a bug in the recent versions of the Editor control with Internet Explorer 8. You can reproduce the bug at the Demo site of Telerik. Just go to the Editor Demo - First Look (http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx) and set the ToolbarMode to ShowOfFocus. Then click the Toggle Fullscreen button on the toolbar to go to fullscreen mode and click the Toggle Fullscreen button again to go back to default mode.
At this moment the content area does not have the full height again. I have tested it in IE8 and Firefox. This problem only occurs in IE8. IE8 with IE7 compatibility mode set, the problem does not occur!

Please confirm this bug and I hope you guys can find a workaround for this problem?

Thanks,
Danny

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 23 Nov 2009, 09:28 AM
Hi Danny,

Thank you for reporting this problem.

You can fix it using the following code:
<script type="text/javascript">
function OnClientCommandExecuting(editor, args)
{
    var commandName = args.get_commandName();
    if (commandName == "ToggleScreenMode")
    {
        if (editor.isFullScreen())
        {
            setTimeout(function()
            {
                editor._updateEditorSize(editor.get_element().style.height);
            }, 100);
        }
    }
}                    
</script>
<telerik:radeditor runat="server" ID="RadEditor1" ToolbarMode="ShowOnFocus" OnClientCommandExecuting="OnClientCommandExecuting">
</telerik:radeditor>

I also logged the problem to our bug tracking system and we will try to fix it in some of the next hotfixes of RadEditor.

Sincerel,
Rumen
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.
Tags
Editor
Asked by
Danny Scheelings
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or