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

Problem with StyleManager.ApplicationTheme

3 Answers 198 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
chinbnhike
Top achievements
Rank 1
chinbnhike asked on 10 Feb 2010, 09:26 AM

Hi,

I have problem when i set them for my app:

In xam: i have a RadMenu

in codebehind:

Public Sub New()

    StyleManager.ApplicationTheme = New Windows7Theme

    InitializeComponent()

End Sub

It throw Exception: Attach file

Thanks!!!

3 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 15 Feb 2010, 09:10 AM
Hello Hoang,

I cannot reproduce this issue. Could you please check that you have reference to Telerik.Windows.Themes.Windows7 assembly. If you have reference then please open a support ticket and attach sample project demonstrating the problem.

Sincerely yours,
Hristo
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.
0
chinbnhike
Top achievements
Rank 1
answered on 22 Feb 2010, 04:43 AM
Oh!,
It's work. thanks!!!

Why i still Build success when i do not  reference to Telerik.Windows.Themes.Windows7 assembly ?
0
Hristo
Telerik team
answered on 23 Feb 2010, 08:22 AM
Hi Hoang Khai,

The build succeed because Windows7Theme class is defined in Telerik.Windows.Controls assembly.
We may change this for Silverlight 4 release.

Regards,
Hristo
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.
Tags
General Discussions
Asked by
chinbnhike
Top achievements
Rank 1
Answers by
Hristo
Telerik team
chinbnhike
Top achievements
Rank 1
Share this question
or