This is a migrated thread and some comments may be shown as answers.
Limit 1 event per day on the scheduler
2 Answers 31 Views
This is a migrated thread and some comments may be shown as answers.
Chandrasekhar
Top achievements
Rank 2
Chandrasekhar asked on 30 May 2014, 05:45 AM
I am only using the month view for the scheduler and the requirements are such that there will only be 1 event per day.

Is it possible that if a user clicks on a day that already has an event, scheduler either does not do anything or opens up the existing event for that day.

Thanking you,

Chandra

2 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 31 May 2014, 11:04 AM
Hello  Chandrasekhar,

You should use the add and save events to prevent adding new or modifying existing events based on your requirement. In order to check if events exist in given date range you may use the occurrencesInRange method. Here you can find a small test page which demonstrates this approach in action.

Regards,
Rosen
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Chandrasekhar
Top achievements
Rank 2
answered on 01 Jun 2014, 11:19 PM
Perfect, works like a treat.
Asked by
Chandrasekhar
Top achievements
Rank 2
Answers by
Rosen
Telerik team
Chandrasekhar
Top achievements
Rank 2
Share this question
or