I'm trying to customize the Delete confirmation dialog of the RadScheduleView by passing some info about the selected appointment into ConfirmDialogViewModel.AdditionalData, but I'm hitting an order of events issue. When the user clicks the 'x' of an appointment in the ScheduleView, it fires the appropriate ShowDialog event. This seems to occur before the AppointmentDeleting event which is where I would expect to access details of the selected appointment. There is no SelectedAppointment available in the ShowDialog viewmodel at that time that I can find.
sender, ShowDialogEventArgs e)
var confdvm = e.DialogViewModel
var delAppt = ((RadScheduleView)sender).SelectedAppointment
How do I get details of the appointment clicked for deletion at this point in the lifecycle?It looks like the normal order of events is as follows:
Is this correct?