Default Office_Black theme occasionally being applied

2 posts, 0 answers
  1. Thomas
    Thomas avatar
    3 posts
    Member since:
    Jun 2014

    Posted 06 Nov 2014 Link to this post

    I have a multi-project solution with Web, Reports and Silverlight projects. The solution was recently migrated from explicit to implicit styles.
    To do so:
    (a) I removed all the binary references from the Silverlight project and added the NoXAML binaries for the Windows 8 theme.
    (b) Merged the referenced assemblies in my App.xaml
    (c) Removed all references to StyleManager
    (d) Refrained from explicitly styling most of my telerik controls

    When I log in, my telerik controls do not appear in a consistent manner. While the gridview controls, for example, will show Windows8 styling in design view, they will sometimes assume the Office_Black look at runtime. Other controls, like the save password checkbox on the login form will sometimes show the "correct sign" look of the Office_Black theme when checked, while at other times show the small blue rectangle typical of Windows8 theme. This is without making any code changes. See attached images.
     As far as I know, I have not added any binaries that will style my application with the Office_Black look. Not sure where this styling is coming from. I just purged and recreated my bin and obj folders, cleaned up solution, etc. No luck.

    Any clues will be greatly appreciated.

    Thanks
  2. Thomas
    Thomas avatar
    3 posts
    Member since:
    Jun 2014

    Posted 07 Nov 2014 in reply to Thomas Link to this post

    Can no longer reproduce problem.
    Seems as if a previous version of the application using StyleManager loaded at the same time in another instance of VS was interfering. Can't explain more. Thanks.
  3. DevCraft banner
Back to Top