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?
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.