Hello,
I'm using the Appointment dialog. I know there is an event afterappointmentadded, afterappointmentremoved.
Which event can i use when appointment is changed ? What event is behind the save& close and which one behing the save ?
I would likte to write the changes inmediatly to the database. Now i only have an message after closing the dayview that there are unsaved changes
Hello Ton,
The events I would recommend using to catch changes to the Appointments in the UltraDayView would be the BeforeDisplayAppointmentDialog and AfterCloseAppointmentDialog.
Both of these events expose the Appointment object that the dialog is either opening or has closed for, and in the AfterCloseAppointmentDialog there you can compare the Appointment object to what it was in the BeforeDisplayAppointmentDialog event. This will allow you to detect when an Appointment has changed.
Please let me know if you have any other questions or concerns on this matter.