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

Automatic vertical sizing of RadHtmlField

5 Answers 51 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Vesku
Top achievements
Rank 1
Vesku asked on 09 Apr 2009, 07:47 AM
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?

5 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 09 Apr 2009, 01:35 PM
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.
0
Vesku
Top achievements
Rank 1
answered on 09 Apr 2009, 01:49 PM
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
0
Vesku
Top achievements
Rank 1
answered on 09 Apr 2009, 02:40 PM
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
0
Stanimir
Telerik team
answered on 10 Apr 2009, 11:29 AM
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.
0
Vesku
Top achievements
Rank 1
answered on 13 Apr 2009, 04:52 PM
Hi,
the property worked as expected and solved the issue we had. Thanks for the assistance.

.vesku
Tags
Sharepoint Integration
Asked by
Vesku
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Vesku
Top achievements
Rank 1
Share this question
or