Editor Height Problem

4 posts, 0 answers
  1. Jeanne
    Jeanne avatar
    58 posts
    Member since:
    Sep 2011

    Posted 19 Oct 2012 Link to this post

    I've got a radEditor in a popup edit form template for a radGrid. I've set the editor's size like this:
    <telerik:RadEditor ID="reItemText" Runat="server" Width="800" Height="300" AutoResizeHeight="false" EnableResize="false" ToolsWidth="800" ContentAreaMode="Div" Skin="WebBlue" Content='<%# DataBinder.Eval(Container, "DataItem.ItemText") %>'>
    </telerik:RadEditor>

    I've set the external style sheets in my master page like this (I did because the editor was initially coming up about 1000px wide!):
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server">
       <StyleSheets>
          <telerik:StyleSheetReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Skins.Editor.css" />
          <telerik:StyleSheetReference Assembly="Telerik.Web.UI.Skins" Name="Telerik.Web.UI.Skins.WebBlue.Editor.WebBlue.css" />
          <telerik:StyleSheetReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Skins.Window.css" />
          <telerik:StyleSheetReference Assembly="Telerik.Web.UI.Skins" Name="Telerik.Web.UI.Skins.WebBlue.Window.WebBlue.css" />
       </StyleSheets>
    </telerik:RadStyleSheetManager>

    The editor size is set exactly as I specified, but instead of the actual editing area being resized, I've got a bunch of empty space at the BOTTOM of the editor (see the attached image).

    How can I get rid of the useless space at the bottom of the editor and make the editable area larger?

    The screenshot is from IE 9. I'm using radControls for ASP.NET Ajax Q1 2012.

  2. Rumen
    Admin
    Rumen avatar
    14459 posts

    Posted 24 Oct 2012 Link to this post

    Hello,

    My suggestion is to set the ContentAreaMode to "Iframe" and test again.

    If you need further assistance, please, open a support ticket and provide a simple working project that demonstrates the problem.

    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.
  3. Jeanne
    Jeanne avatar
    58 posts
    Member since:
    Sep 2011

    Posted 24 Oct 2012 Link to this post

    I tried iframe mode first. That was worse. At the advice of another forum posting I switched it to div mode. That works better, but it doesn't work right either.

    I've pointed out a bug in your software. Instead of telling me "it that doesn't work like it's supposed to, don't do it" you should try to fix it.

    How many times have you told someone to "provide a simple working project that demonstrates the problem"? How many times has the questioner simply abandoned their question when you did that? We're out here trying to use your products to make our jobs easier and trying to get a job done. We simply don't have the time to debug your software for you.
  4. Rumen
    Admin
    Rumen avatar
    14459 posts

    Posted 29 Oct 2012 Link to this post

    Hi,

    I fully agree that this is a bug of RadEditor in DIV content area mode, which can be reproduced by toggling the View modes of RadEditor in the following live demo. After escalating the issue to the attention of our developers, they fixed it in IE9, Chrome, Safari and Firefox. The fix will be available in Q3 2012 SP1 and will appear in the tomorrow's latest internal build.

    As you know RadEditor is a complex composite control that is so to provide wide cross browser support. This extended support introduces different sizing problems in different scenarios as in your case in EditFormSettings. Basically, we fix all reported issues on a case by case basis and for this reason we should be able to firstly replicate them locally so that we can debug them further, found what are causing them and fix them. So far you have provided only code snippets, but not a working project as well as you have not specified under which browser the problem exists. That is why my recommendation is to test the Latest Internet Build that will be released tomorrow and which will include the fix for the problem reproducible in the live demo. If the problem in your application is other and it still persists with the latest internal build, please try to isolate it and to provide a runnable project so that we can debug it locally.

    Thank you for your understanding and assistance.

    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.
Back to Top