In my custom RadScheduleView deployment, I allow RecurrencePatterns but not RecurrenceExceptions. When a user attempts to edit/delete an appointment series, I want to bypass the RecurrenceChoiceDialog and go directly to the series (in the case of an edit) or pop up a simple "Delete series?" confirmation if a deletion. I can tell when an RecurrenceChoiceDialog is being fired, but I cannot figure out whether it is initiating an edit or delete event.
public void Appointment_ShowDialog(object sender, ShowDialogEventArgs e)
var rcdvm = e.DialogViewModel as RecurrenceChoiceDialogViewModel;
if (rcdvm != null)
rcdvm.IsSeriesModeSelected = true;
e.DefaultDialogResult = true;
e.Cancel = true;
This code works fine for jumping straight to the EditAppointmentDialog in the case of an edit, but how do I determine if it's a deletion?