Editing area height in WCM scenario

6 posts, 0 answers
  1. kazutsugu
    kazutsugu avatar
    6 posts
    Member since:
    Apr 2009

    Posted 30 Apr 2009 Link to this post

    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
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 07 May 2009 Link to this post

    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.

  3. kazutsugu
    kazutsugu avatar
    6 posts
    Member since:
    Apr 2009

    Posted 12 May 2009 Link to this post

    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
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 15 May 2009 Link to this post

    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.
  5. kazutsugu
    kazutsugu avatar
    6 posts
    Member since:
    Apr 2009

    Posted 15 May 2009 Link to this post

    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
  6. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 16 May 2009 Link to this post

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