Inconsistent built in Themes

James Relyea

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?

Nikolay

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.

Scott Whitlow

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?

Deyan

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.

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.

Deyan

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.

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

Stefan

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

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

Deyan

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

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.