Custom List - Editor Size

6 posts, 0 answers
  1. Martin Sebela
    Martin Sebela avatar
    3 posts
    Member since:
    Jan 2010

    Posted 29 Jan 2010 Link to this post

    Hi,

    I would like to change the default size of RadEditor for some SharePoint custom lists. I've tried to do some hack by SharePoint Designed, but I was not success. Please can you help me and recommend me the best way how to do it?

    Thanks,
    Martin
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 29 Jan 2010 Link to this post

    Hi Martin,
    Could you confirm, which version of RadEditor for MOSS you are using, so I will be able to provide you with correct instructions.

    Best wishes,
    Stanimir
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

  3. Martin Sebela
    Martin Sebela avatar
    3 posts
    Member since:
    Jan 2010

    Posted 29 Jan 2010 Link to this post

    Sorry, I didn't notice it. We use 5.6.0 version.

    Regards,
    Martin
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 01 Feb 2010 Link to this post

    Hello Martin Sebela,
    Review the following online help article http://www.telerik.com/help/aspnet-ajax/different-configuration-files-for-different-webs.html.

    The approach described there is useful in web part and list scenarios. For the WCM scenario, you can already set the configuration files properties through SharePoint Designer - Setting ConfigFile and ToolsFile properties for the WCM field

    Best wishes,
    Stanimir
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Martin Sebela
    Martin Sebela avatar
    3 posts
    Member since:
    Jan 2010

    Posted 08 Feb 2010 Link to this post

    Thank you very much, I will try it. But I don't know if I have access to all configuration files.

    It is possible to change editor size via javascript? Can I use for example the following code: http://www.telerik.com/help/aspnet-ajax/addingincreaseanddecreasesizebuttons.html?

    How can I get the right objects on EditForm.aspx?

    Thanks,
    Martin
  6. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 09 Feb 2010 Link to this post

    Hi Martin,
    Review the following article http://www.telerik.com/help/aspnet-ajax/add_custom_buttons.html.
    How can I get the right objects on EditForm.aspx? - Here is one suggestion: set the OnClientLoad property in the ConfigFile.xml or ListConfigFile.xml, which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder.
    For example add the following code:
    <property name="OnClientLoad">OnClientLoad</property>
    Then you can add the following function in the MOSSEditorTools.js file, which is located in the mentioned above folder.
    function OnClientLoad(editor, args)
    {
        //editor is a reference to the control
    }

    The following article is helpful in order to get familiar with the Client-Side API of the editor: http://www.telerik.com/help/aspnet-ajax/editor-getting-familiar-with-client-side-api.html


    Greetings,
    Stanimir
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top