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

How to style and apply a new theme?

8 Answers 301 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sathish
Top achievements
Rank 1
Sathish asked on 28 Mar 2009, 10:17 AM
Hi

I tried styling the 3 different themes but I was only able to style the Popup section. I got the code which you have posted (comboboxtheme.zip). I didn't understand from where by default Grey background or Onfocus (Golden background) for Office_black theme is coming from? I changed all the brush resources to White still the background color was grey. Are these controls part of the dll? Is there any way that we can create our own theme?

This problem is not only with one theme but for Summer and Vista also..


Regards
Sathish

8 Answers, 1 is accepted

Sort by
0
Sathish
Top achievements
Rank 1
answered on 31 Mar 2009, 05:13 AM
Hi

Awaiting for your reply.. Kindly let me know whether you need the sample project which I made?

Regards
Sathish
0
Dimitrina
Telerik team
answered on 01 Apr 2009, 09:24 AM
Hello Sathish,

I am not sure which brush you want to change. Can you please send me a screenshot or a project in which you indicate the color you want to change?

Regards,
Dimitrina
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Sathish
Top achievements
Rank 1
answered on 01 Apr 2009, 01:22 PM
Hi

Check the image in the Url: Combobox Screenshot  or http://dl.getdropbox.com/u/823180/TelerikCombo.JPG


Regards
Sathish
0
Dimitrina
Telerik team
answered on 01 Apr 2009, 03:10 PM
Hello Sathish,

The names of the brushes you need to change are as follows:

 - for the normal state: Background "ExpanderButtonNormal_Background", Border "ExpanderButtonNormal_Border"

 - for the mouseover state: Background "ExpanderButtonOver_Background", Border "ExpandButtonOver_OuterBorder"

Let me know if you have further questions.


Kind regards,
Dimitrina
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Sathish
Top achievements
Rank 1
answered on 02 Apr 2009, 05:16 AM
Hi

I have made enough changes but it still remains the same. I am attaching the project for your reference. Kindly take a look at it.
Project Link (or) http://dl.getdropbox.com/u/823180/RadCombo.zip

Thanks
Sathish
0
Dimitrina
Telerik team
answered on 02 Apr 2009, 01:51 PM
Hi Sathish,

The problem is caused by the version of the controls you are using - it is older than the latest Q1 '09 release. I am sending you the project where I have fixed the theme file for you.

You should apply the RadComboBox style:                   

     <

 

Setter Property="Template" Value="{StaticResource NonEditableComboBox}" />
    
<Setter Property="EditableTemplate" Value="{StaticResource EditableComboBox}" />
    
<Setter Property="NonEditableTemplate" Value="{StaticResource NonEditableComboBox}" />

Sincerely yours,

Dimitrina
the Telerik team

 


Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Sathish
Top achievements
Rank 1
answered on 06 Jun 2009, 10:38 AM
Hi Dimitrina

Thanks for the reply. When I scroll keeping the combobox open after I apply my style, the page gets scrolled not the list in the combobox. Is there any way we can resolve that.

Regards
Sathish
0
Dimitrina
Telerik team
answered on 09 Jun 2009, 02:25 PM
Hi Sathish,

Please, accept out apologies for this problem. A fix will be provided with the upcoming internal build.

I also gave you 1000 Telerik points.

Greetings,
Dimitrina
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.
Tags
ComboBox
Asked by
Sathish
Top achievements
Rank 1
Answers by
Sathish
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or