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

Break hour

2 Answers 42 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
fer
Top achievements
Rank 1
fer asked on 01 Oct 2009, 05:46 PM
Hi, how could I show non working hours between working hours as a break time?

For example , if my work day is : 9:13 - 15:18. So, I want to show hours between 13-15 with a different style (as non working hours) because it is actually what it is.

is it possible?

thanks a lot!

fernando

2 Answers, 1 is accepted

Sort by
0
robertw102
Top achievements
Rank 1
answered on 01 Oct 2009, 07:06 PM
What is it that you're trying to style? The appointment or the time-slot?

If it's the appointment you can style it in the Scheduler's AppointmentDataBound event and change the appointment's background color or apply a style. I don't know if you can style the time-slots themselves.
0
robertw102
Top achievements
Rank 1
answered on 01 Oct 2009, 07:10 PM
Ok, it looks like you can style the time slot section. You just need to handle the Scheduler's TimeSlotCreated event.

From there I guess something like this: "e.TimeSlot.Control.BackColor" would set the color for you or you could just set a style using "e.TimeSlot.CssClass" to change the color.

Hope that helps.
Tags
Scheduler
Asked by
fer
Top achievements
Rank 1
Answers by
robertw102
Top achievements
Rank 1
Share this question
or