Hi Grant,
I am afraid that you won't be able to wait until the promise has been resolved to determine whether the
moveEnd event should be prevented or not. That is why I would suggest you a different approach. If the promise fails, instead of using the
preventDefault() call you could directly re-set the event
start and
end dates. To do that you should handle the
moveEnd event in the following way:
Regards,
Veselin Tsvetanov
Progress Telerik
Get
quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.
Learn More.