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

editor issue in chrome

2 Answers 101 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jiju
Top achievements
Rank 1
Jiju asked on 23 Apr 2014, 01:04 PM
Hi,

I use rad editor in my page, when using telerik version 2012.2.724.40, it shows some design issue in google chrome ( see the image), and when i use the version  2013.3.1324.40, it display the editor correctly, 
Please let me know how to fix the issue in version 2012.2.724.40.

thanks

2 Answers, 1 is accepted

Sort by
0
Jiju
Top achievements
Rank 1
answered on 24 Apr 2014, 05:24 AM
Hi,

In my page I use below javascript function to resize the editor relative to the browser's height

<telerik:RadEditor Runat="server" ID="editor1" EnableResize="false" ContentAreaMode="Iframe" Height="100px">
</telerik:RadEditor>

function ResizeEditor() {
        
        var nWindowHeight = $(window).height();
        
        var editor = $find("<%=editor1.ClientID%>");
        if (editor != null) {
            editor.setSize("", nWindowHeight * 0.5);

        }
    }


and if the contentAreaMode is IFrame then it shows as in the first image (image1), and the editor not resizing when resize the browser.
but if we change the ContentAreaMode to Div, then it shows as in the second image (image2), and teh editor resizing when resize the browser, but not the content area.

How to fix the issue?

thanks



0
Ianko
Telerik team
answered on 25 Apr 2014, 07:29 AM
Hello Jiju,

I recommend using the latest available version of the Telerik UI for ASP.NET AJAX to resolve the issues.

The RadEditor control is greatly improved about its rendering and know provides more consistent behavior across browsers. These improvements are quite complex and I cannot provide a simple workaround to resolve the layout issues.

About resizing the control according to the browser, I can also suggest using a later version of the controls to improve using of editor dimensions with percent values. Also I can suggest following this help article.

Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Jiju
Top achievements
Rank 1
Answers by
Jiju
Top achievements
Rank 1
Ianko
Telerik team
Share this question
or