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

Full Screen mode has no scroll bars when AutoResizeHeight="true" property is set

3 Answers 84 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ross Miles
Top achievements
Rank 1
Ross Miles asked on 18 Oct 2011, 01:14 AM
As the thread title suggest when I have the AutoResizeHeight="true" property set on a RadEditor field and press the toggle full screen mode with content's height that exceeds the height of the screen, the scroll on the RadEditor does not appear.
If i do not have this property set the full screen works correctly. I can also replicate this on the online demo here

http://demos.telerik.com/aspnet-ajax/editor/examples/autoresizeheight/defaultcs.aspx

Any assistance would be appreciated.

 

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Oct 2011, 05:37 AM
Hello Ross,

This is the expected behavior. When the AutoResizeHeight property is set to true, then the editor's content area is resizing to match content height and no scrollbars will appear.The value of the AutoResizeHeight property indicates whether the RadEditor will auto-resize its height to match content height.

Thanks,
Shinu.
0
Ross Miles
Top achievements
Rank 1
answered on 19 Oct 2011, 02:01 AM
Hi Shinu,

What you have described does occur when the RadEditor is not in Full Screen mode. When you have content that exceeds the height of the browser window when this property is set there is no scroll. I have attached screenshots of what I'm talking about
0
Rumen
Telerik team
answered on 20 Oct 2011, 10:41 AM
Hello Ross Miles,

The problem is not trivial and we are still working on it. My suggestion is to disable either Full Screen Mode or the Auto Height Expand feature until we fix the problem.

You can disable the ToggleScreenMode shortcut (F11) using the following code:

<script type="text/javascript">
function OnClientLoad(editor, args) {
editor.removeShortCut("ToggleScreenMode");
}
</script>
<telerik:radeditor runat="server" OnClientLoad="OnClientLoad" ID="RadEditor1"></telerik:radeditor>


All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Editor
Asked by
Ross Miles
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Ross Miles
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or