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

lock out weekends on scheduler

2 Answers 60 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 10 Jan 2014, 05:01 PM
I have a scheduler and on the code behind check for someone scheduling a weekend, but if they do it checks it then tells them they cannot and makes them go though the process agian.  How can I lock out the weekends on the calendar autoamtically so they are not visible or are locked out so they cannot click on them.

2 Answers, 1 is accepted

Sort by
0
Accepted
Plamen
Telerik team
answered on 14 Jan 2014, 09:13 AM
Hi,

You could set the timeslots invisible as for example in this on-line demo by setting FirstDayOfWeek="Monday" LastDayOfWeek="Friday".

You could also disable them as in this KB article in case you don't want to hide them.

Hope this will be helpful.

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Kevin
Top achievements
Rank 1
answered on 14 Jan 2014, 07:40 PM
ok works great thanks
Tags
Scheduler
Asked by
Kevin
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Kevin
Top achievements
Rank 1
Share this question
or