

| RadEditor1.AddDialogDefinition("InsertSpecialLink", insertSpecialLinkDialogDefinition) |

Hi,
I have a question about setting relative path of external CSS file for the RadEditor in MOSS 2007.
These are the scenario:
I added the RadEditor control in a layout in Moss, and created two pages based on this layout:
http://mysite/PressReleases/pages/page1.aspx
http://mysite/Academics/pages/page2.aspx
In the ConfigFile.xml, I added the cssFiles property:
<property name="CssFiles">
<item>~/PressReleases/Pages/test.css</item>
</property>
This works fine, the styles in test.css appears in the Apply Css Class dropdown in the RadEditor. But what I what to achieve is to be able to let pages under individual subsite only use css file which exists in the same directory of the page. e.g. when user browses to http://mysite/PressReleases/pages/page1.aspx, only styles in http://mysite/PressReleases/pages/test.css is displayed in the CSS dropdown; and when user browses to http://mysite/Academics/pages/page2.aspx, only styles in http://mysite/Academics/pages/test.css is displayed in the dropdown.
So, how can I set the relative path of test.css in ConfigFile.xml ?
Thanks
Yvonne
Hi, All –
I have a question about custom styles in the RAD editor in MOSS (Microsoft Office Sharepoint Server) 2007. By custom styles, I mean those that show up in the “Apply CSS Class” drop-down in the editor. That drop down is currently populated with classes from “core.css” in the 12 hive, and optionally, “CssEditor.css” .
Ideally, I would like custom styles to be sub-site specific, not site-collection wide as they currently are . A content editor would have access to styles prepared specifically for their site, and not see styles in the drop-down intended for other site owners. In the out-of-the-box Microsoft editor, this was easily achievable because custom styles could be put in any style sheet, including those that were local to sub-sites, making locally customized styles a snap. Is there way to do this with the RAD editor as well? Thanks, and please respond if you need more clarification of my problem.
Scott DeMers
CUOnline, of at .