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
520
Auto Appointment dialog
posted

Hi!

I have an UltraMonthViewMulti. And I would like to load my own "new Appointment Dialog" instead of the Standard Dialog.

Could I do that?
if not how can I find out the date after double clicking on a specific day?

TIA

Josef

  • 53790
    Suggested Answer
    posted

    Hello Josef,

    There are different approaches to solve this task. Maybe one possible solution could be if you handle BeforeDisplayAppointmentDialog event of your UltraCalendarInfo. For example:

    private void ultraCalendarInfo1_BeforeDisplayAppointmentDialog(object sender, DisplayAppointmentDialogEventArgs e)

    {

         e.Cancel =true;

       AppointmentDialog customDialog = new customAppointmentDialog();

         customDialog.ShowDialog();

    }

    public class customAppointmentDialog : AppointmentDialog

    {

       public customAppointmentDialog()  {...... }

    }

    Let me know if you have any questions.

    Regards