Hello.
this is version 2020.1
I have a scheduler working nicely (lots of customizations...)
Now, I am trying to edit an appointment calling RadScheduleViewCommands.EditAppointment.Execute:
public void EditAppointmentWithDialog(AppointmentDTO appointmentData) { var appo = PersistenceLayer.FindAppointment(appointmentData.ID); ScheduleView.scheduleView.CurrentDate = appo.AppointmentDate; var newAppo = Appointments.FirstOrDefault(app => app.ID == appointmentData.ID); ScheduleView.scheduleView.SelectedAppointment = newAppo; RadScheduleViewCommands.EditAppointment.Execute(null, ScheduleView.scheduleView); }
void IEditableObject.BeginEdit is called, so everything is in place.
If I cancel the edit, everything goes fine.
If I just click Ok in the edit window, void IEditableObject.EndEdit is never called.
I get a null exception error and the program exits.
See the attached file for the exception log.
Thanks!