I want to have one skin for the radeditor and a different skin for the file managers windows/dialog boxes etc. (i.e. image manager using Black and editor with Office 2007)
It is possible if you use a custom skin for the RadEditor control. Note that by design when you set a skin to the RadEditor control, it will force all other controls in the dialogs to use this skin as well.
The controls that are used in the dialogs are:
RadToolBar
RadFormDecorator
RadTabStrip
RadTreeView
RadSplitter
RadSlider
RadUpload
RadWindow
RadGrid
RadMenu
I attached to this thread a small sample that shows how to achieve the desired approach. Here are the steps that I took:
Added the Office2007 skin as an external skin to RadEditor
Copied Window.Office2007.css and Editor.Office2007.css to the Skins folder and edited the strings in it to change the path for the sprites (from "../Common/" to "Common/").
Took the content of the <controlName>.Black.css files for all controls used in RadEditor from the Black skin folder and pasted it in the corresponding <controlName>.Office2007.css files.
Replaced the "Black" string in the pasted content with "Office2007".
Replaced all used controls' folders from the Office2007 skin folder with the ones from the Black folder.
Note: What actually happens in points 3,4 and 5 is that now you have a skin named Office2007 that however uses the code for the Black skin.
Imported the Window.Office2007.css and Editor.Office2007.css to the page where the RadEditor control is and set the RadEditor control's Skin property to "Office2007" (EnableEmbeddedSkins must be set to false as well).
Set the DialogsCssFile="Skins/Office2007/Widgets.Office2007.css".
Added the following imports in it:
@import url('ToolBar.Office2007.css');
@import url('FormDecorator.Office2007.css');
@import url('TabStrip.Office2007.css');
@import url('Editor.Office2007.css');
@import url('TreeView.Office2007.css');
@import url('Splitter.Office2007.css');
@import url('Slider.Office2007.css');
@import url('Upload.Office2007.css');
@import url('Window.Office2007.css');
@import url('Grid.Office2007.css');
@import url('Menu.Office2007.css');
/* this is the topmost cell of the dialogs that have RadTabStrip */