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

2007 Q2 SP1: Rewource theme not listing

1 Answer 33 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Lovsten
Top achievements
Rank 1
Lovsten asked on 15 Oct 2007, 09:45 AM
I'm adding in my theme as resource as embedded. Then adding it into a Theme Manager.

But it does not show amongst the available themes for the control. But I just write in the name of it anyway. The control then goes invisible in the Design GUI. But if I run the app, it works fine and uses that theme.

This was working in 2007 Q2 I think.

1 Answer, 1 is accepted

Sort by
0
Angel
Telerik team
answered on 22 Oct 2007, 06:58 AM
Hi Lovsten,

To show a theme in the list of available themes for a control, the theme file must be available. In your case the theme is added as a resource to your assembly and is used as a resource. In order to do so, you have to build first the assembly so the theme will be inside that assembly.

In the attached movie you can see how it is done - the steps are:

  1. Create the theme file
  2. Add it as embedded resource
  3. Build the assembly
  4. Use "Load theme from resources" for the ThemeManager to add the theme to the list of available themes.

As in the movie can be seen the theme is added in the list of available themes and is applied correctly.

Regards,
Angel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Themes and Visual Style Builder
Asked by
Lovsten
Top achievements
Rank 1
Answers by
Angel
Telerik team
Share this question
or