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

Multiple timeworks. How to??

1 Answer 70 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Javier
Top achievements
Rank 1
Javier asked on 21 Jun 2012, 01:01 PM
Hi. I'm writing a medical schedule system and I am using the Winforms Scheduler control. Each doctor has diferent working days and each day can have several timework.
 For instance, in Mondays Doctor A works from 9:00AM to 12:00AM in the morning and from 16:00PM to 18:00PM  in the afternoon, On Tuesday, Wednesday and thursday he doesn't work and in Friday he works from 12:00AM to 14:00AM in the morning and from 18:00PM to 20:00PM in the afternoon.
I would like to draw that working hours in the scheduler control and  disable every hour out of his working hours so the user can't create an appointment in that time.

How can I do that??

Thanks
Javier

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 26 Jun 2012, 10:59 AM
Hello Javier,

Thank you for writing.

In order to disable a cell in RadScheduler you need to use the CellFormatting event. Attached you can find a small sample demonstrating this. Please give it a try and let me know how it works for you.
 
Regards,
Stefan
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
Scheduler and Reminder
Asked by
Javier
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or