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

Style Manager not work with Silverlight 4

8 Answers 93 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ahmed
Top achievements
Rank 1
Ahmed asked on 20 Nov 2010, 04:21 PM
I Use that Porperty to Set Theme in My Telerik Controls

telerik

 

 

:StyleManager.Theme="Office_BlackTheme"


BUT The Problem it doesn't work with me until i change My Target Silverlight Version to Silverlight 3 but in Silvelright Version 4 The Themes has no Effect

 

 

 

 

 

8 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 22 Nov 2010, 08:44 AM
Hello Ahmed,

 

Office_Black theme is the default Theme for Telerik's RadControls for WPF/SL. You do not need to specify that theme explictly either in Silverlight 3 or Silverlight 4. If you want to be able to use any other theme you can use the same syntax and add a reference that corresponds to a particular theme.
Also, verify that all references you use in your project are for Silverlight 4.


If you need any further assistance please let me know.

Regards,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Ahmed
Top achievements
Rank 1
answered on 23 Nov 2010, 07:49 AM
NO, i know That Office_Black is The Default Theme for Silverlight But I Tried all Others Themes The Office_Black not Changed even if i set any Other Theme for The Control Until I change The Silverlight Version from 4 to 3
0
Ahmed
Top achievements
Rank 1
answered on 23 Nov 2010, 08:07 AM
NO, i know That Office_Black is The Default Theme for Silverlight But I Tried all Others Themes The Office_Black not Changed even if i set any Other Theme for The Control Until I change The Silverlight Version from 4 to 3
0
Vanya Pavlova
Telerik team
answered on 23 Nov 2010, 10:22 AM
Hi Ahmed,


If you want to use any other Theme you should add a reference for it, actually you do not need a reference for Office_BlackTheme. Please refer to the following article Setting a Theme.


If you need any further assistance please let me know.


Sincerely yours,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Ahmed
Top achievements
Rank 1
answered on 24 Nov 2010, 12:15 PM
I know I do All Steps :
1-I added all Themes Reference in My Project 
2- And Then I Add That Code to My CompoBox 
        <telerikInput:RadComboBox Grid.Column="1" telerik:StyleManager.Theme="Vista" DisplayMemberPath="Address_Book_name" SelectedValuePath="Address_Book_ID" HorizontalAlignment="Left" Margin="20,25,20,0" Name="cboCareerLevel" VerticalAlignment="Top" Width="231">
        </telerikInput:RadComboBox> 
But It Does Not Work till I change Silverlight Version from 4 to 3
Note : I work with "RadControls for Silverlight Q1 2010 SP1"
0
Nirmala
Top achievements
Rank 1
answered on 24 Nov 2010, 07:17 PM
Hello,
I am also running into the same issue. If I use Style manager in xaml, I can see the theme in design mode. But the same theme does not show when application runs. In fact, the theme on all controls stays default which is black. I am not sure if I am missing anything. (Added all the references and then applied the stylemanager theme in app.xaml.cs, mainpage.xaml.cs, my custom page.xaml.cs and last try in xaml directly) Nothing seems to work.

Please help.

0
Ahmed
Top achievements
Rank 1
answered on 25 Nov 2010, 08:26 AM
No it does not Appear in Design with me also
0
Vanya Pavlova
Telerik team
answered on 25 Nov 2010, 01:38 PM
Hello Ahmed,

Find the attached project that uses these binaries you used.

If you need any further assistance let me know.

Greetings,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
General Discussions
Asked by
Ahmed
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Ahmed
Top achievements
Rank 1
Nirmala
Top achievements
Rank 1
Share this question
or