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

Different Color for other month

3 Answers 33 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
ManniAT
Top achievements
Rank 2
ManniAT asked on 02 Jul 2014, 01:17 PM
Hi,

in Outlook - month view - I get the days of the current month in white while the days of the preceding / following months have a different color.
Your RadCalendar does something like this by formatting the days "non bold".

Can this be done "out of the box" or do I have to define "special slots" or things like these?

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 03 Jul 2014, 08:13 AM
Hello Manfred,

RadScheduleView does not have such a built-in feature. Indeed, you could use SpecialSlots to style the days from the previous/next month differently.

Regards,
Yana
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
ManniAT
Top achievements
Rank 2
answered on 03 Jul 2014, 04:59 PM

Is there a sample for this?

Hopefully in MVVM "style" (no code behind).

And if not...

Am I right that I have to check for every time the user changes the month I have to calculate the visible days from,the previous / next month and create special slots for them?

0
Yana
Telerik team
answered on 04 Jul 2014, 11:38 AM
Hello Manfred,

We do not have such an example at hand, but you could use VisibleRangeChangeCommand of the ScheduleView and handle it in the ViewModel - there you could calculate the days that are not from the current month and update the SpecialSlots collection accordingly.

I hope this will help get started. If you have additional issues/questions, write to us again.

Regards,
Yana
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
ScheduleView
Asked by
ManniAT
Top achievements
Rank 2
Answers by
Yana
Telerik team
ManniAT
Top achievements
Rank 2
Share this question
or