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

Setting ContentAreaCssFile property

4 Answers 139 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 20 Mar 2008, 03:47 PM
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

4 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 20 Mar 2008, 04:27 PM
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
0
Paul
Top achievements
Rank 1
answered on 20 Mar 2008, 04:35 PM
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
0
Rumen
Telerik team
answered on 21 Mar 2008, 11:12 AM
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
0
Paul
Top achievements
Rank 1
answered on 25 Mar 2008, 09:13 AM
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
Tags
Sharepoint Integration
Asked by
Paul
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Paul
Top achievements
Rank 1
Share this question
or