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

Styling the Calender

5 Answers 57 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Roman Wack
Top achievements
Rank 1
Roman Wack asked on 18 Feb 2011, 02:42 PM
Hi,

I have a template for the RadCalender of the DatePicker. There is a TransitionPanel that I want to
style. But how to do it? The RadUniformGrids in this TransitionPanels have no templates??

Thank you!

5 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 22 Feb 2011, 10:25 AM
Hello Roman Wack,

You can't style a Panel in Silverlight. The main purpose of the panels is to arrange its children according to a specific logic.

Greetings,
Kaloyan
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Roman Wack
Top achievements
Rank 1
answered on 22 Feb 2011, 10:30 AM
but how to style the calender?
0
Kaloyan
Telerik team
answered on 24 Feb 2011, 10:26 AM
Hello Roman Wack,

The easiest way is to use the Expression Blend. Follow the attached movie showing you how to accomplish the task.

Greetings,
Kaloyan
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Roman Wack
Top achievements
Rank 1
answered on 24 Feb 2011, 11:51 AM
Hi,

thanks for your help, but it doesn't work.
First my RadDatePicker has no MonthViewPanelTemplate. I can only create
an empty one in Blend. So I add a RadCalender to the view. This Control
does have a MonthViewPanelTemplate but if I try to edit it, there is only a CalenderPanel
in it...
What am I doing wrong?
0
Pana
Telerik team
answered on 24 Feb 2011, 12:38 PM
Hello Roman Wack,

Watch carefully the video. For example Panels are used to layout. The MonthViewPanelTemplate is the template for the Panel that will be used to layout the items of the RadCalendar in month view. This is like editing the ItemsPanel property of an ItemsControl. I suppose what you want to edit is the MonthViewStyles of RadCalendar instead which is like the ItemContainerStyle of a ListBox.

After you create style for RadCalendar you can just apply it on the CalendarStyle of RadDateTimePicker.

Greetings,
Pana
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Calendar
Asked by
Roman Wack
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Roman Wack
Top achievements
Rank 1
Pana
Telerik team
Share this question
or