hi,
using ultraCalendarInfo's BeforeDisplayAppointmentDialog, I have a code written to show my own custom appointment dialog box. Before I show that dialog box however, I want to check if the slot double clicked (in the ultradayview) is within the correct range in which appointment is allowed to be made. For us its from 930am to 6pm . If its before 930am or after 6pm, I want to prevent showing the appointment dialog box. Plz suggest what should I do.
thanks!
..ab
Hi,
Maybe one possible solution could be if you are using AfterTimeSlotSelectionChanged event. By this way you could get the time slots. For example :
private void ultraDayView1_AfterTimeSlotSelectionChanged(object sender, EventArgs e)
{
ultraDayView1.SelectedTimeSlotRange.StartDateTime;
ultraDayView1.SelectedTimeSlotRange.EndDateTime;
}
Let me now if you have any questions.