Hi,
I just want to know if there is a way to prevent scheduled event overlap on Kendo scheduler?.. e.g. If a user has an event on 7:00 am to 10am, adding new event that conflict on that time will prevent adding this new event schedule in the scheduler. . Is it possible?
By the way I'm using the trial version 2013.2.716.. Is it supported on the trial version? if not, how about on the licensed one, does this kind of functionality supported?
Thanks.
Regards,
Jesson
I just want to know if there is a way to prevent scheduled event overlap on Kendo scheduler?.. e.g. If a user has an event on 7:00 am to 10am, adding new event that conflict on that time will prevent adding this new event schedule in the scheduler. . Is it possible?
By the way I'm using the trial version 2013.2.716.. Is it supported on the trial version? if not, how about on the licensed one, does this kind of functionality supported?
Thanks.
Regards,
Jesson
7 Answers, 1 is accepted
0
Hello Jesson,
Rosen
Telerik
I'm afraid that this is not supported with the current version of our scheduler widget. However, it will be possible to implement such restrictions with the official version (Q2 2013 SP1 release) of KendoUI Scheduler.
Regards,Rosen
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jsn
Top achievements
Rank 1
answered on 12 Sep 2013, 08:30 AM
Hi Rosen,
Okay,Thanks!.. I also want to ask if moveStart,move and moveEnd event is also supported in trial version 2013.2.716 which I'm using right now.. Because this event will never get fired when I try to used it. Or maybe, this event is only supported on the paid licensed? Am I right.?.
Regards,
Jesson
Okay,Thanks!.. I also want to ask if moveStart,move and moveEnd event is also supported in trial version 2013.2.716 which I'm using right now.. Because this event will never get fired when I try to used it. Or maybe, this event is only supported on the paid licensed? Am I right.?.
Regards,
Jesson
0
Accepted
Hi Jesson,
Rosen
Telerik
Indeed, as I already mentioned in your other post on this, the moveStart/move/moveEnd as well as the resizeStart/resize/resizeEnd events are not part of the 2013.2.716 release. Those events are introduced in the latest internal builds and will be publicly available when the beta tag is removed from the Scheduler widget with the KendoUI Q2 2013 SP1 release.
Regards,Rosen
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
David
Top achievements
Rank 1
answered on 18 Sep 2013, 03:15 PM
I achieved this on the server side by doing this:
schedule newEvent;//This contains the info you are trying to schedule
var repeated= (from a in db.schedules where (a.startDate <= newEvent.endDate && a.endDate >= newEvent.startDate && a.idSchedule!=newEvent.idSchedule) select a);
if (!repeated.Any())
{
//save new event
}
else{
return null or something that shows that there is a conflict
}
if you receive null do a dataSource.cancelChanges()
Hope it helps
schedule newEvent;//This contains the info you are trying to schedule
var repeated= (from a in db.schedules where (a.startDate <= newEvent.endDate && a.endDate >= newEvent.startDate && a.idSchedule!=newEvent.idSchedule) select a);
if (!repeated.Any())
{
//save new event
}
else{
return null or something that shows that there is a conflict
}
if you receive null do a dataSource.cancelChanges()
Hope it helps
0
Jsn
Top achievements
Rank 1
answered on 19 Sep 2013, 06:56 AM
Hello Camilo,
Yes, I did the same way as you did. I do it in the server side.
Anyway, Thanks.. Your code snippet might help others when they encountered the same issue as mine.
Regards,
Jesson
Yes, I did the same way as you did. I do it in the server side.
Anyway, Thanks.. Your code snippet might help others when they encountered the same issue as mine.
Regards,
Jesson
0
Chase
Top achievements
Rank 1
answered on 24 Apr 2014, 06:40 AM
Hello Rosen,
Now that time has passed and the new release is out. Can you point me in the direction of the documentation for implementing a restriction which would disallow a user to create an event that overlaps with another event for the same resource (such as a RoomId)?
Now that time has passed and the new release is out. Can you point me in the direction of the documentation for implementing a restriction which would disallow a user to create an event that overlaps with another event for the same resource (such as a RoomId)?
0
Hi Chase,
You can find such sample on our online demos site here.
Regards,
Rosen
Telerik
You can find such sample on our online demos site here.
Regards,
Rosen
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!