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

Month View Different style for days of previous and next months

1 Answer 56 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Pooja
Top achievements
Rank 1
Pooja asked on 03 Oct 2011, 08:44 AM
Hi,

I have a requirement where I have to display days of previous or next month in different color background. For e.g. current Month is October, so the weeks will be
25th Sep - 1st Oct
2nd Oct- 8th Oct
9th Oct - 15Th Oct
16Th Oct - 22nd Oct
23rd Oct- 29th Oct
30th Oct- 4th Nov

I want to display 25th Sep to 30th Sep and 1st Nov to 4th Nov in different color.

Please let me know the way to achieve this.

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 06 Oct 2011, 09:27 AM
Hi Pooja,

In order to change the colour of the appointments according to some logic, you could use the AppointmentStyleSelector property of the ScheduleView. You can find an example of its use in this online demo.

Hope this information helps.

Best wishes,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
ScheduleView
Asked by
Pooja
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or