Problem using desert theme on treeview in Office2010 themed app

2 posts, 0 answers
  1. Mark Ogle
    Mark Ogle avatar
    4 posts
    Member since:
    Jun 2008

    Posted 14 May 2010 Link to this post

    Hi All

    I have an app using the Office2010 theme.

    But we prefer the desert theme for our tree view. I used this code to force the theme

            private static void ForceTreeviewTheme(RadTreeView tv)
               // tv.EnableTheming = false;
                tv.ThemeName = "Desert";

    It worked ok but the node back colours were still Office2010 grey and I cannot see the node selection colour when I click and select a node.
    If I do not disable theming or re-enable it I get the Office 2010 theme again, making me think I have not actually applied the theme at all!

    What is the best way to achieve this goal?

  2. Victor
    Victor avatar
    1358 posts

    Posted 19 May 2010 Link to this post

    Hi Mark Ogle,

    Thank you for writing.

    Please specify whether you are using the ApplicationThemeName property to set the theme for your application. If you are using it, you will not be able to set a theme to an individual control. If you set the theme to all controls individually, then you will have no troubles modifying each control. I realize this behavior may be inconvenient for you and this is why we will consider improving it.

    I am looking forward to your reply.

    All the best,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top