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

How to remove radeditor double scrollbar when switch to html model

7 Answers 126 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Vincent
Top achievements
Rank 1
Vincent asked on 19 Jan 2011, 11:17 PM
Hi Telerik team

I enable the AutoResizeHeight property in the radeditor, it works perfect in Design Mode, however when I switch to Html Mode, it appears again. Can some tell me how to remove this too? or should AutoResizeHeight property also can remove the double scroll-bar in html mode?


Thanks

7 Answers, 1 is accepted

Sort by
0
Vincent
Top achievements
Rank 1
answered on 19 Jan 2011, 11:29 PM
By the way, I am using the iframe not div
0
Rumen
Telerik team
answered on 20 Jan 2011, 02:42 PM
Hi Vincent,

I am not aware of this problem and I was unable to reproduce it in the AutoResizeHeight live demo. Can you please isolate the problem in a sample working project and send it for examination by opening a support ticket? Please, also include a screenshot of the problem and if needed detailed reproduction steps.

Best regards,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
IT Manager
Top achievements
Rank 1
answered on 20 Jan 2011, 10:14 PM
Hi Rumen

Thanks for your fast response. It's easy to reproduce this problem. Just use the only example, when you open it, click to "HTML", you should will see two scroll-bar, one inside editor and another one is from explorer .

I've attached two screen shot, the first one is tested in Chrome, the second one is in IE
0
Rumen
Telerik team
answered on 21 Jan 2011, 04:35 PM
Hello Vincent,

Thank you for the screenshots.

The AutoResizeHeight feature is implemented to work only in Design mode of RadEditor to avoid resizing problems. In HTML mode, this feature is not implemented and a scrollbar is loaded in the TextBox based area so that the user can scroll to show the invisible content.

Kind regards,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Vincent
Top achievements
Rank 1
answered on 23 Jan 2011, 10:52 PM
Hi Rumen

Thanks for your reply. It does make sense, but is it possible to make it work in HTML mode? can you give a solution for that?
0
Vincent
Top achievements
Rank 1
answered on 25 Jan 2011, 10:29 PM
Hi 

Is it possible? can someone let me know?
0
Rumen
Telerik team
answered on 26 Jan 2011, 12:56 PM
Hi Vincent,

The requested scenario is not supported by Telerik, but if you would like you can try to implement it yourself at your own risk. The HTML content area is represented by a <textarea> wrapped in an <iframe> element. You can get a reference to the <textarea> element using the editor.get_textArea() method and implement your own resizing functionality. You can check for HTML mode using the OnClientModeChange event.

Best regards,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
Vincent
Top achievements
Rank 1
Answers by
Vincent
Top achievements
Rank 1
Rumen
Telerik team
IT Manager
Top achievements
Rank 1
Share this question
or