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

Editing area height in WCM scenario

5 Answers 78 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
kazutsugu
Top achievements
Rank 1
kazutsugu asked on 30 Apr 2009, 11:41 AM
Hello,

One thing I like very much the OOTB HTML editor of MOSS is that it extends as you type. No scroll bar.
Users can see how the whole page would look like while editing.

Would this be achievable with this RadEditor Lite, or its standard edition?
if yes, could you kindly guide me how to?

Thank you,
kazu

5 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 07 May 2009, 08:57 AM
Hi Kazutsugu,

Unfortunately this functionality is introduced in the full version of RadEditor for MOSS 5.x.x. You can see an online demo in the following address http://demos.telerik.com/aspnet-ajax/editor/examples/autoresizeheight/defaultcs.aspx.

How ever there are two tools in the RadEditor for MOSS Lite, which you might find helpful. These are the IncreaseSize and DecreaseSize. In order to enable them add the following code to the respective ToolsFile.xml or ListToolsFile.xml (for forms such as list, wiki, blog ...), which are located in the Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.x.x__1f131a624888eeed\RadControls\Editor folder.

I hope this helps.

Sincerely yours,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
kazutsugu
Top achievements
Rank 1
answered on 12 May 2009, 04:25 PM
Thank you for the response.

I have started evaluating the RadControls for ASP.NET and ASP.NET AJAX. The demo looks very good.

However, it appears that the "AutoResizeHeight" is not a valid property of the "RadHtmlField" control for MOSS. Is that so?

Also, what is the use of property "DisplaySize"?

Kazutsugu
0
Stanimir
Telerik team
answered on 15 May 2009, 11:31 AM
Hi Kazutsugu,

If you are using the Lite version of RadEditor for MOSS, which is based on the RadEditor for ASP.NET you will not be able to use the AutoResizeHeight property. It is introduced in the 5.x version of RadEditor for MOSS, which is based on the RadEditor for ASP.NET AJAX.

Regarding the DisplaySize. Since RadHtmlFiled of the RadEditor 4.x inherits frmo BaseFieldControl, the DisplaySize is a parent's property. You can find the members of BaseFieldControl class in the following MSDN help article http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.basefieldcontrol_members.aspx.

I hope this helps.


Greetings,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
kazutsugu
Top achievements
Rank 1
answered on 15 May 2009, 12:07 PM
Thank you for the response.

You wrote:
> If you are using the Lite version of RadEditor for MOSS, which is based on the RadEditor for ASP.NET you will not be able to use the > AutoResizeHeight property. It is introduced in the 5.x version of RadEditor for MOSS, which is based on the RadEditor for ASP.NET > AJAX.

Yes, Yes, I am talking about the "RadEditor for ASP.NET AJAX". Its trial version, before we decide to purchase it, as I wrote earier:
> I have started evaluating the RadControls for ASP.NET and ASP.NET AJAX. The demo looks very good.

I am not interested in the Lite any longer.

I tried the "AutoResizeHeight" property (you said of) "RadHtmlField" control, and got error screen saying it is not a valid property.

Parser Error Message: Type 'Telerik.SharePoint.FieldEditor.RadHtmlField' does not have a public property named 'AutoResizeHeight'.

Source Error:

Line 24: 
Line 25: <asp:Content ContentPlaceholderID="PlaceHolderMain" runat="server">
Line 26: <telerik:RadHtmlField id="Content" FieldName="PublishingPageContent" runat="server" AllowSpecialTags="True" DisplayWidth="100%" AutoResizeHeight="True"></telerik:RadHtmlField>Line 27: </asp:Content>

Please advise.
Kazu
0
Stanimir
Telerik team
answered on 16 May 2009, 06:40 AM
Hi Kazutsugu,

In order to set the AutoResizeHeight  property, you need to modify the respective ConfigFile.xml or ListConfigFile.xml (for forms such as lists, wikies, blogs ...), which are located in the Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.4.0.0__1f131a624888eeed\Resources folder.
Just add the following code.
<property name="AutoResizeHeight">True</property> 


I hope this helps.


All the best,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
WebParts for SharePoint
Asked by
kazutsugu
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
kazutsugu
Top achievements
Rank 1
Share this question
or