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

Inconsistent built in Themes

16 Answers 176 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
James Relyea
Top achievements
Rank 1
James Relyea asked on 07 Dec 2009, 11:03 AM
Default themes are not listed in the Themes property of a few objects. I'm saying "few" because I'm only used Telerik for a couple of hours, so this is a pretty obvious problem if I was able to discover it this fast

-RadDock is missing Aqua, Vista, Telerik, Vista Black & Breeze at the very least
-RadMenu is missing Office2007Blue at the very least

How do I get all of the Themes added to the controls so users have a consistent set of colors?

Thanks

:)
jr

16 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 08 Dec 2009, 09:20 AM
Hello James,

Please refer to the other ticket that you sent us regarding the same matter.

Regards,
Deyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
James Relyea
Top achievements
Rank 1
answered on 10 Dec 2009, 02:03 AM
I looked at the ticket...there are no updates by support.

:)
jr
0
Nikolay
Telerik team
answered on 10 Dec 2009, 08:29 AM
Hello James Relyea,

Thank you for the feedback. Now you should be to review the answer in your ticket.

Kind regards,

Nikolay
the Telerik team

 


Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Scott Whitlow
Top achievements
Rank 1
answered on 22 Jan 2010, 07:20 AM
Would anyone here be able to post the answer here in the forums so the rest of us can benefit from it? I am wondering about the same question but  I didn't want to open up a new thread for it.

Thanks!
0
Nikolay
Telerik team
answered on 22 Jan 2010, 07:53 AM
Hi Scott Whitlow,

Please find the answer to the question below:

Currently, not all controls have all themes. RadDock is a relatively new control and it misses some of our main themes such as Telerik and Breeze. We hope that will be able to introduce them in our next major version or shortly after that.

The VistaBlack theme is a theme introduced only for RadGridView in the Miscellaneous theme component. The themes provided in this component are special and unique themes made exclusively for a specific control. You should not expect to have them for other controls in the suite.

The Office2007Blue theme is actually our ControlDefault theme. In some cases it has an alias Office2007Blue. However, when you are after the office blue look, just use the ControlDefault theme.

Regards,

Nikolay
the Telerik team

 


Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Scott Whitlow
Top achievements
Rank 1
answered on 22 Jan 2010, 07:57 AM
Thanks for the quick reply. The look I was going for was for the grid. And it was the look of the "ScreenTips" demo. By default it has a blue look to it. But, I can click on the Orange button and it is the same theme. But, it has an "Orange" color applied to it. I was just wanting to apply the Orange theme. I found the Breeze theme in the Controls theme drop down. But, I was unable to locate the Orange look to it. How would I apply this to my grid?

Thanks!
0
Nikolay
Telerik team
answered on 27 Jan 2010, 12:19 PM
Hi Scott Whitlow,

The orange look is achieved by the help of the Theme Color Blending feature. In your case, you need to apply the Breeze theme on RadControls and call the following code snippet:
Theme theme = Telerik.WinControls.ThemeResolutionService.GetTheme("Breeze");
theme.AddColorBlend("BaseColor", HslColor.FromArgb(255, 56, 154, 254), false);
theme.ThemeProperties["BaseColor"] = HslColor.FromArgb(255, 245, 143, 41);

Greetings,
Nikolay
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Ramius
Top achievements
Rank 1
answered on 08 May 2010, 10:37 AM

Hello,

do you have a timeframe when the RadDock will support the auqa, breeze, desert and telerik theme ?

At the moment these themes are useless for me. 

It's now nearly 8 month after the introduction of the new RadDock control and the theming for these important themes is still not avalable. This is disappointing to me.

Kind Regards,

Ramius

0
Deyan
Telerik team
answered on 10 May 2010, 03:54 PM
Hi Ramius,

Thanks for your questions.

As you may know, we have introduced a new theming mechanism as of Q1 2010. We have also introduced a new Visual Style Builder which uses the new theming mechanism to style the controls. Since all themes shipped within the RadControls for WinForms suite were based on the old theming mechanism until Q1 2010, we had to recreate these themes so that they are compatible with the new mechanism. The process of migrating themes is not an easy task and as of Q1 2010 SP2 we have managed to migrate the ControlDefault, Office2007Black/Silver, Breeze (BreezeExtended), Desert and also to introduce the Windows7 and Office2010 themes. We continue working on this task and hopefully we will be able to release the Aqua and Telerik themes anytime soon.

Since the RadDock control is relatively new control, it supports only the most relevant themes. However, migrating the themes to the new theming mechanism includes creating themes for it as well and therefore the Desert and Breeze themes are already supported by the RadDock control. So to use the Desert and BreezeExtended themes with RadDock, you should simply instantiate the theme components and apply the theme to the control as you do with all other controls.

I hope this is helpful.

Do not hesitate to write back in case you need further assistance.

Sincerely yours,
Deyan
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
Ramius
Top achievements
Rank 1
answered on 14 May 2010, 10:18 AM

Hi Deyan,

thank your answer.

The point for me is that i see a control and the supported themes as a unit which belong together and so the supported themes should be available for a control at the time of introduction of the control.

When i change the theme to desert in my application it looks like on the attached screenshot which seems not completely correct to me.

Kind Regards,

Ramius

0
Deyan
Telerik team
answered on 14 May 2010, 12:45 PM
Hi Ramius,

Thanks for getting back to me.

From the screenshot you attached in your last post, I guess the blue color that appears in RadDock is most probably caused by explicit BackColor setting which could not be overriden by the Desert theme which, otherwise, works as expected on our side. Could you please check whether you are setting BackColor properties of controls withing your application explicitly and remove these settings since the theme, when applied, cannot override these settings?

I look forward to receiving further details on the case.

Thanks for your time.

Greetings,
Deyan
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
Ramius
Top achievements
Rank 1
answered on 16 May 2010, 11:06 PM
Hi Deyan,

thank you for your help.
I had an explicit BackColor setting in my code.
Now i removed it and the desert theme looks perfect.

Thanks a lot.

Kind Regards,

Ramius
0
Ramius
Top achievements
Rank 1
answered on 16 Jul 2010, 03:16 PM
Hello Deyan,

I upgraded to the Q2/2010 Release and i had some problems with the update to the new version.
So i decided to recreate the mainform from scratch.

I used the designer to create a radribbonbar and a raddock control.
Now i have the same problem with the backcolor again for the desert theme because the designer creates a backcolor entry for the radribbonbar and the raddock.
 
Why does the designer create the wrong code?

Kind Regards,

Ramius
0
Stefan
Telerik team
answered on 22 Jul 2010, 09:22 AM
Hello Ramius,

Thank you for your reply. 

I have looked into your issue and tried to reproduce it, but everything works fine on my end. I have tested by setting the theme to the whole application, using ThemeResolutionService (see image desert.png) and nothing was wrong. Then I tested your case by setting the theme name for each control individually in the application (see DesertEachElementSetting.png) and again the behavior was correct. I did my tests with  Q2 2010.

As my colleague Deyan said in his post, such behavior is possible by explicitly setting the Background property. In my case the designer did not set this property by itself. 

If you continue to experience the issue, I would kindly ask you to open a support ticket and send us a sample project where we can see this behavior. This is going to help us to investigate it as we are not able to reproduce it now. 

I am looking forward to your reply. 

Best wishes,
Stefan
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
Ramius
Top achievements
Rank 1
answered on 22 Jul 2010, 10:35 AM
Hello Stefan,

I confirm that there is no problem with the desert theme when no background property is set.

I have created a new test project and have now some more informations when the background property is set.

1. Ribbonbar:
Testcase A: Create a new RadRibbonBar from the visualStudioToolbox. Then no background property is created. The designer code is correct.
Testcase B: Add a new element to the project and choose then the Telerik Rad RibbonForm template. Then the background property is created for the RadRibbonBar.

2. RadDock:
Create a new RadDock from the visualStudioToolbox. Then no background property is created and everything is fine.
But then i used the Advanced Layout Designer and created a document window and two tool windows and saved this.
Then i looked at the designer code and now there is the background property set for the RadDock.
 
I hope you can reproduce these cases now.

Greetings,

Ramius
0
Deyan
Telerik team
answered on 27 Jul 2010, 08:10 PM
Hello Ramius,

We have been able to reproduce the undesired behavior in both of the scenarios that you describe. We would like to inform you that these issues are scheduled for fixing and we hope that we will be able to provide the fixes in the Q2 2010 SP1 release of RadControls for WinForms which is due in the beginning of August.

I have updated your Telerik points for bringing this issue to our attention.

Thanks for your time.

All the best,
Deyan
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
Themes and Visual Style Builder
Asked by
James Relyea
Top achievements
Rank 1
Answers by
Deyan
Telerik team
James Relyea
Top achievements
Rank 1
Nikolay
Telerik team
Scott Whitlow
Top achievements
Rank 1
Ramius
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or