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

Default Office_Black theme occasionally being applied

1 Answer 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 06 Nov 2014, 03:10 PM
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

1 Answer, 1 is accepted

Sort by
0
Thomas
Top achievements
Rank 1
answered on 07 Nov 2014, 02:08 PM
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.
Tags
General Discussions
Asked by
Thomas
Top achievements
Rank 1
Answers by
Thomas
Top achievements
Rank 1
Share this question
or