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
225
prevent a new appointment in a non-working hour block
posted

I would like to use a custom dialog for booking appointments.  However, before the custom dialog is shown, I want to first verify that the appointment time slot the user has clicked is NOT a non-working hour section.

How can I do this?

  • 69832
    Suggested Answer
    Offline posted

    The UltraCalendarInfo.BeforeDisplayAppointmentDialog event fires prior to the display of that dialog. The event arguments do not contain the TimeSlot that was clicked per se, but the Appointment property of the event args will reflect the time in the value of its StartDateTime property.