Setting ContentAreaCssFile property

5 posts, 1 answers
  1. Paul
    Paul avatar
    4 posts
    Member since:
    Mar 2008

    Posted 20 Mar 2008 Link to this post

    Hi there,

    Can anyone tell me how I can set the value of the ContentAreaCssFile property (So I can replace it with my own custom CSS file)?  The editor is on a SharePoint page so I cannot set the value in the page markup.

    Thanks in advance,

    Paul
  2. Answer
    Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 20 Mar 2008 Link to this post

    Hi Paul,

    Could you please tell me which version of RadEditor you use in your web application?

    Please, note that RadEditor Classic does not offer such a property and you should use the CssFiles property. You can declare it in the provided ConfigFile.xml / ListConfigFile.xml file

    <property name="CssFiles"> 
        <item>/Style Library/en-us/Core Styles/RadEditorStyle.css</item> 
    </property> 



    Kind regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  3. Paul
    Paul avatar
    4 posts
    Member since:
    Mar 2008

    Posted 20 Mar 2008 Link to this post

    Hi Rumen,

    Thanks for your response.  Unfortunately I've inherited this issue from someone else so I'm not sure which version we are using, how can I tell?

    With regards to the ConfigFile.xml / ListConfigFile.xml option, does it matter which one I add it to?

    Thanks,

    Paul
  4. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 21 Mar 2008 Link to this post

    Hi Paul,

    If there is a \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.5.2.0__1f131a624888eeed\RadControls\Editor\Scripts\ folder on your PC then you are using the RadEditor Classic for MOSS. The inner Scripts folder shows the version of the editor. If there is not a RadControls folder that you are using RadEditor "Prometheus".

    You can review for more information the RadEditor MOSS help here.

    RadEditor uses two different ToolsFiles and ConfigFiles:

    • ToolsFile.xml and ConfigFile.xml - for Web Part and WCM scenarios
    • ListToolsFile.xml and ListConfigFile.xml - for SharePoint forms scenario

     
    These files are located in the following folder:

    /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/4.5.0.0__1f131a624888eeed/RadControls/Editor/


    Best regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Paul
    Paul avatar
    4 posts
    Member since:
    Mar 2008

    Posted 25 Mar 2008 Link to this post

    Hi Rumen,

    Thanks for your response, and apologies for my late reply (We've been on Easter break).  Just checked, and I do have RadEditor Classic for MOSS installed and updating both ConfigFile.xml and ListConfigFile.xml with the CssFiles property fixes my problem.

    Many thanks for your help,

    Paul
Back to Top