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

Looking for demo theme

3 Answers 65 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
Martin Horst
Top achievements
Rank 1
Martin Horst asked on 04 Jun 2010, 02:38 PM

Hi,

in the RadForms demo application the cells of the calendar control (First Look) have a blue header an are separated with a thin blue lines. In the example code the calendar controls uses a "Scheduler" theme. Is this theme only used inside the demo? I try to get the same visual style in my application, but without success.

Regards

Martin

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 09 Jun 2010, 05:37 PM
Hello Martin Horst,

Thank you for the question.

The Scheduler theme is a part of the Miscellaneous theme component. You should drag this component on your form and set the theme of your RadCalendar instance to Scheduler.

I hope this helps.

Regards,
Nikolay
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
Martin Horst
Top achievements
Rank 1
answered on 29 Jul 2010, 12:52 PM

Hi,

I'm now trying to use this theme. The theme works fine as long as i don't use this theme workaround

http://www.telerik.com/community/forums/winforms/themes-and-visual-style-builder/theming-don-t-work-properly.aspx

In this case I alway get the Office theme. I'm not realy sure if this is caused by using the work around or by setting ApplicationThemeName property to Office2010. I usually want to use the Office theme except for the calendar. 

Thanks in advance

Martin Horst

0
Nikolay
Telerik team
answered on 04 Aug 2010, 03:50 PM
Hello Martin,

Thank you for getting back to us.

You are not able to apply the Scheduler theme to RadCalendar, because of the ApplicationThemeName setting.

The alternative to ApplicationThemeName is ApplyThemeToControlThree. When called, this method sets the theme of all RadControls in a given control three. Please note that the method works at a form level, but not at an application level. So, if you have several forms, you should call the method for each of these forms. For example, the following code snippet will set the theme of RadControls in a given form to Office2010, while the theme of RadCalendar will be set to Scheduler (this is the form instance):
ThemeResolutionService.ApplyThemeToControlTree(this, "Office2010");
this.radCalendar1.ThemeName = "Scheduler";

I hope this helps. If you have additional questions, feel free to contact me.

Greetings,
Nikolay
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
Calendar, DateTimePicker, TimePicker and Clock
Asked by
Martin Horst
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Martin Horst
Top achievements
Rank 1
Share this question
or