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
1650
Customizing Dayview part2
posted

I am currently working with the UltraDayView. I need a way to override the built in 'Appointment' dialog. I wish to provide a custom dialog that allows me to enter what in my case constitutes a 'Time Log'.

Is it possible to override the built in dialog with my own? If so, can anyone provide an example or point to a sample??

  • 1650
    Verified Answer
    posted

    By handling the BeforeAppointmentAdded event you can cancel the appointment dialog and call your own.

       Private Sub CalendarInfo_BeforeAppointmentAdded(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinSchedule.CancelableAppointmentEventArgs) Handles CalendarInfo.BeforeAppointmentAdded

    e.Cancel = True

          If (e.Cancel) Then

                 ... Call your form