I would like to know if there is a way to use my custom radwindow skin on a dialogue window that is opened from the radeditor and if so which is the best way to implament it.
Thanks in advance
Simon
1 Answer, 1 is accepted
0
Martin
Telerik team
answered on 02 Jul 2008, 08:11 AM
Hi Simon,
The dialogs of RadEditor actually use RadWindow, so you have to create a custom skin for RadWindow.
The easiest way is to copy an existing skin and modify it, rather than creating one of a scratch.
If you choose to modify an existing one, please, follow these steps:
1. Copy the entire folder of the target skin (for example - the Default one);
2. Rename it with the title of your skin, for example - MyCustomSkin;
3. Rename Window.Default.css to Window.MyCustomSkin.css;
4. Open Window.MyCustomSkin.css and globally replace the _Default postfix of each selector to _MyCustomSkin;
5. Modify Window.MyCustomSkin.css with your new design;
But, please, have in mind that if you intend using a custom RadWindow skin with RadEditor, you have to create a custom skin for RadEditor itself, as it is not possible to use two different sets of skins for both controls. You have to follow the same steps when creating a custom skin for RadEditor.