This is a migrated thread and some comments may be shown as answers.

Error moving nonrecurring appointment (end date born before start date)

1 Answer 11 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Koen
Top achievements
Rank 1
Koen asked on 30 Jul 2010, 11:50 AM

I have 2 appointments in my scheduler, one with recurrence , one without.

Moving (dragging) the appointment with recurrence is no problem. Moving an appointment results in this error :

Message: Sys.WebForms.PageRequestManagerServerErrorException: Error end date '2010.07.26 13:00:00' is born before start date '2010.07.27 11:00:00'.

It seems that it's only moving the startdate of an appointment.

I attached OnClientAppointmentMoveEnd and I can see it's entering this function. Then I tried to manually change the end date of this appointment, but without any effect.

1.var apt = args.get_appointment();
2.apt.set_end(new Date(2010, 7, 27, 13, 0, 0, 0));
3.apt.get_radScheduler().updateAppointment(apt);
4.args.set_cancel(true);

Any tips? 


1 Answer, 1 is accepted

Sort by
0
Koen
Top achievements
Rank 1
answered on 04 Aug 2010, 09:38 AM
Solved. We didn't move the end of a recurrence. 
Tags
Scheduler
Asked by
Koen
Top achievements
Rank 1
Answers by
Koen
Top achievements
Rank 1
Share this question
or