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

Skining A dialogue

1 Answer 41 Views
Editor
This is a migrated thread and some comments may be shown as answers.
sidcom
Top achievements
Rank 1
sidcom asked on 30 Jun 2008, 04:31 PM
Hi There

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

Sort by
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.

Regards,
Martin Ivanov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
sidcom
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or