I am using Telerik RadScheduler with Web Service binding.
When I drag an appointment to another timeslot, I do some client-side validation in OnClientAppointmentMoveEnd
, and if that succeeds I set args.set_cancel(true);
It then hits my web service method UpdateAppointment
.
My server side code within this web service call then does some additional validation based on a database query.
My question is - if this server side validation fails, how can I get the client-side appointment to move back to where it originated? I can catch a status or message in OnClientRequestFailed
but is there a way to cancel the move event after the web service call, or move the appointment back?