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
960
prevent appointment deletion
posted

Hi,

 Is there a way to prevent the appointment delete dialog from showing up?

I can cancel the event BeforeDisplayAppointmentDialog of the calendar information control, but I cannot find one for the deletion dialogue.

 

Also, is it possible to resize the dayview so that it will show all the rows without having to scroll?  And is it possible to not show the nonworkinghours timeslots?

and lastly, if I am creating the appointments and inserting them into a datatable, how do I set the recurrence?  Or do I have to do that using the calendarinfo object?

 Thanks,

Parents
No Data
Reply
  • 2094
    Offline posted

    DayView.BeforeAppointmentsDeleted event

    Private Sub UltraDayView1_BeforeAppointmentsDeleted(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinSchedule.BeforeAppointmentsDeletedEventArgs) Handles dayViewAppointments.BeforeAppointmentsDeleted

    Just call 

    e.cancel = true

    in this event

    Cheers
    Aaron

Children
No Data