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

Programmatically Changing Themes

2 Answers 139 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Frits Verhoef
Top achievements
Rank 1
Frits Verhoef asked on 06 Aug 2009, 10:22 AM
Dear all,

I'm having a slight problem with programmatically changing Themes (Office_Black, Summer, etc) for my RadControls. It works perfectly fine when doing it beforehand in xaml, and changing Themes at runtime works fine for all controls except the RadComboBox and the RadPanelBar controls- these simply don't ever change from the default Office_Black theme, while all other controls change theme just fine. Note that I have tried both using StyleManager.SetTheme() and instance.SetValue(StyleManager.ThemeProperty, theme), both of which yield the exact same result.

Here is a small project that demonstrates this.

Any thoughts on what I could be doing wrong would be much appreciated.

Cheers,

Frits Verhoef.

2 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 06 Aug 2009, 01:58 PM
Hi Frits,

We are aware of this problem, it was already fixed, the updated assemblies will be available in the upcoming service pack release next week. I apologize for the inconvenience.

Kind regards,
Valeri Hristov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Frits Verhoef
Top achievements
Rank 1
answered on 06 Aug 2009, 02:39 PM
Thanks for the quick reply! I'm glad to hear it's been resolved and am looking forward to try next week's update.

Regards,

Frits.
Tags
General Discussions
Asked by
Frits Verhoef
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Frits Verhoef
Top achievements
Rank 1
Share this question
or