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

Theme and inheritance

2 Answers 307 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
jpl
Top achievements
Rank 1
jpl asked on 22 Jul 2009, 07:09 PM
Hi,

may be this question has been solved here but I cannot find it in the different threads. I have a class deriving from RadGridView. For example, say the class Grid in the test namespace. In design mode, the ThemeClassName property is set to the actual class name by the designer, so test.Grid in the example. But the problem is that I cannot find the theme names I want in  the drop down list. If I force the ThemeClassName property to "Telerik.WinControls.UI.RadGridView", the drop down list is filled with the right theme names but as soon as I save the file the designer reset the ThemeClassName to test.Grid, as I can see it in the file.
So I found the way to force ThemeClassName"Telerik.WinControls.UI.RadGridView" in the test.Grid constructor but it works in run time only; I cannot see the theme names in design mode.
What is the good way to proceed to apply themes to a derived class ?

thanks.

2 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 24 Jul 2009, 03:26 PM
Hi _,

Please refer to the following Knowledge Base article which contains the answer to your question: Inherit themes from RadControls.
 
If you have additional questions, feel free to contact me.

Regards,
Nikolay
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
jpl
Top achievements
Rank 1
answered on 25 Jul 2009, 07:15 PM
Thank you Nikolay for your reply.
Tags
Themes and Visual Style Builder
Asked by
jpl
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
jpl
Top achievements
Rank 1
Share this question
or