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

[Solved] Disable days in MonthView

1 Answer 243 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Georgi
Top achievements
Rank 1
Georgi asked on 11 Sep 2007, 02:03 PM
Hi guys, I've just began using the RadScheduler and the only thing I can say is  "It's amazing" . But I don't know how to disable a given date in the month view  to prevent adding appointments  to this date?


1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 11 Sep 2007, 03:15 PM
Hello Georgi,

You can use both client-side and server-side events to filter such actions. For your scenario client-side events are a better choice, because they will save you a trip to the server.

The preview refresh release does not provide a suitable event, but we have already addressed the issue in the current development builds. In the official Q2 release, due next Monday, you will be able to handle the OnClientAppointmentInserting event and cancel it if it meets your criteria.

For the official release we also have implemented two new properties - FirstDayOfWeek and LastDayOfWeek, so you will be able to limit the visible days in the week. This might be suitable for your case too.

Greetings,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Scheduler
Asked by
Georgi
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or