2007 Q2 SP1: Rewource theme not listing

2 posts, 0 answers
  1. Lovsten
    Lovsten avatar
    72 posts
    Member since:
    Aug 2007

    Posted 15 Oct 2007 Link to this post

    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.
  2. Angel
    Angel avatar
    121 posts

    Posted 22 Oct 2007 Link to this post

    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.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft banner
Back to Top