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

SpecialSlot in MonthView

1 Answer 54 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Håkan
Top achievements
Rank 1
Håkan asked on 03 Jun 2011, 12:08 PM
Hi.

I want to have different background color on sundays and holidays.
I added a SpecialSlotStyleSelector and added sunday recurrence.
It works in the week view, but not in the month view.
Is there any way I can do that?

And, can you also add multiplespecialslots, for instance one for saturdays, one for sundays and one for working hours?

Regards,
HÃ¥kan

1 Answer, 1 is accepted

Sort by
0
Accepted
Pana
Telerik team
answered on 08 Jun 2011, 08:51 AM
Hi,

You can create a class that extends Slot and adds some proeprties. Or you can create several classes that extend Slot and does not add anything but use them to switch styles. You have to override and implement the Copy method in both cases. Please refer to the attahced project.

All the best,
Pana
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
ScheduleView
Asked by
Håkan
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or