RadHtmlField Properties

3 posts, 0 answers
  1. Sebastian
    Sebastian avatar
    2 posts
    Member since:
    Sep 2008

    Posted 23 Sep 2008 Link to this post

    Hi!

    I'm currently working on implementing the RadEditor in a MOSS project when I came upon the following questions;

    • I want to edit a field in SharePoint using the RadEditor. Having a fixed number of layouts available I want to replace the RichHtmlField with the RadEditor. However, the RadEditor does not have the FieldName property and therefore might be a viable solution. Therefore I'm using the RadHtmlField control instead, which has the FieldName property. Is this correctly understood and a good solution?
    • Also, I would like to change the language of the control, but, as could be read above, when using the RadHtmlField, the language property is not available as it is in the RadEditor. I was thinking of replacing the default resource files with my own, fully aware of the problems that might arise when upgrading the product. Is there a better way of accomplishing this task?
    • Spellchecking is not at all available with the RadHtmlField that I can see. Is there a way to incorporate this functionality with the RadHtmlField, or do I have to use the RadEditor?

    Best regards

    Sebastian

  2. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 24 Sep 2008 Link to this post

    Hi Sebastian,

    The RadHtmlField control is the correct choice for your scenario. You can set the Language property from the editor's configuration file - ConfigFile.xml. To add spell checking support to the field control, open the editor tools file - ToolsFile.xml and add the spell checker tool. If you are using the 5.x version of the RadEditor for MOSS, you will also need to copy the resource files from the editor resources folder to ~/App_GlobalResources/ in your MOSS web application.

    Here is a link to the RadEditor for MOSS 4.x documentation, which shows how to add/remove tools from the editor toolbar: http://www.telerik.com/help/moss/editor/removing tools from the toolbar.html

    The same help article, but for the RadEditor for MOSS 5.x: http://www.telerik.com/help/aspnet-ajax/removing-tools-from-toolbar.html

    Best wishes,
    Lini
    the Telerik team

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

  3. Sebastian
    Sebastian avatar
    2 posts
    Member since:
    Sep 2008

    Posted 24 Sep 2008 Link to this post

    Thanks you for your quick and precise response!

    It was of great help to solve the problem.

    Best regards

    Sebastian
Back to Top