In javascript, is there a way to keep appointment away from the AllDay row?
eg:
appointment reach AllDay row {
eventArgs.set_cancel(true);
}
Please refer to the PNG files
1 Answer, 1 is accepted
0
Plamen
Telerik team
answered on 14 Dec 2012, 09:02 AM
Hi Allen,
Here is the code that should work for you:
function OnClientAppointmentMoveEnd(sender, args) {
if (args.get_targetSlot().get_durationInMinutes()==1440) {
args.set_cancel(true);
}
}
Hope this will be helpful.
All the best,
Plamen
the Telerik team
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 their blog feed now.