Automatic vertical sizing of RadHtmlField

6 posts, 0 answers
  1. Vesku
    Vesku avatar
    4 posts
    Member since:
    Sep 2007

    Posted 09 Apr 2009 Link to this post

    Hi,
    We are planning to utilize the RadHtmlField control in our global intranet project, but I couldn't figur out how to make the height dynamic in similar ways as the out of the box MOSS html field. Based on available documentation, the size can be defined in pixels, but not as dynamic value.

    Actual aspnet.ajax editor seems to support this similar ways as the standard MOSS html field as declared in the following article.
    http://www.telerik.com/support/kb/aspnet-ajax/editor/expanding-radeditor-s-content-area-vertically-without-using-scrollbars-to-accommodate-all-content-entered.aspx

    Functionality is extremely valuable, since otherwise the content editors are having difficulties to understand how the WCM page will eventually look like. Is there some undocumented property setting, which could be applied?
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 09 Apr 2009 Link to this post

    Hi Vesku,

    Could you please inform us exactly which version of RadEditor for MOSS are you using? Is it the Lite 4.5.4 version, which is based on the RadEditor for ASP.NET, or the latest 5.3.2, which is based on the RadEditor for ASP.NET AJAX.

    Thank you.

    Best wishes,
    Stanimir
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.

  3. Vesku
    Vesku avatar
    4 posts
    Member since:
    Sep 2007

    Posted 09 Apr 2009 Link to this post

    Hi,
    for testing purposes we are currently using the 4.5.4 version, which was available from the your side today morning - I couldn't found other wsp packages from the site. If the newer version has this functionality, can you provide information from where it can be found for MOSS integration usage.

    Thanks for the information advance.

    .vesku
  4. Vesku
    Vesku avatar
    4 posts
    Member since:
    Sep 2007

    Posted 09 Apr 2009 Link to this post

    Hi,
    quick update. I just installed the trial version of 5.4.0.0 (Version: 2009.1 402) and still the actual question remains. How can I can configure the html field to automatically resize based on the information entered?

    Thanks for the information advance.

    .vesku
  5. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 10 Apr 2009 Link to this post

    Hello Vesku,

    Since you are using the latest version of the RadEditor for MOSS 5.4.0, all you need to do is set the property AutoResizeHeight to True. In order to do so you should modify the respective ConfigFile.xml and ListConfigFile.xml, which are located in the Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.4.0.0__1f131a624888eeed\Resources folder.
    For example add the following code.
    <property name="AutoResizeHeight">True</property> 

    You can test this functionality in our online demos as well http://demos.telerik.com/aspnet-ajax/editor/examples/autoresizeheight/defaultcs.aspx .

    I hope this helps.


    Greetings,
    Stanimir
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  6. Vesku
    Vesku avatar
    4 posts
    Member since:
    Sep 2007

    Posted 13 Apr 2009 Link to this post

    Hi,
    the property worked as expected and solved the issue we had. Thanks for the assistance.

    .vesku
Back to Top