Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
Event AppointmentDialog
posted

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

Parents
No Data
Reply
  • 34810
    Offline posted

    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.

Children
No Data