I have the following issue when using a List datasource in combination with a custom OnClientRecurrenceDialogShowing:
and following Javascript:
According to documentation, this should bypass the "do you want to (edit/delete) this appointment occurrence or series" dialogs.
However, if I put a breakpoint in the Scheduler_AppointmentDelete handler, I hit the breakpoint for "simple" appointments, but not for recurrent ones. On the other hand, editing a recurrent appointment works fine, bypasses the dialog and edits the series.
Is this a known issue?
(version = v4.0.30319 / 2010.2.929.40)
<
telerik:RadScheduler
ID
=
"Scheduler"
runat
=
"server"
OnClientRecurrenceActionDialogShowing
=
"OnClientRecurrenceActionDialogShowing"
DataKeyField
=
"Id"
DataSubjectField
=
"Subject"
DataStartField
=
"Start"
DataEndField
=
"End"
DataRecurrenceField
=
"RecurrenceRule"
DataRecurrenceParentKeyField
=
"RecurrenceParentId"
OnAppointmentInsert
=
"Scheduler_AppointmentInsert"
OnAppointmentUpdate
=
"Scheduler_AppointmentUpdate"
OnAppointmentDelete
=
"Scheduler_AppointmentDelete"
DisplayDeleteConfirmation
=
"False"
AllowDelete
=
"true"
/>
and following Javascript:
<
script
type
=
"text/javascript"
>
function OnClientRecurrenceActionDialogShowing(sender, eventArgs) {
eventArgs.set_cancel(true);
eventArgs.set_editSeries(false);
}
</
script
>
According to documentation, this should bypass the "do you want to (edit/delete) this appointment occurrence or series" dialogs.
However, if I put a breakpoint in the Scheduler_AppointmentDelete handler, I hit the breakpoint for "simple" appointments, but not for recurrent ones. On the other hand, editing a recurrent appointment works fine, bypasses the dialog and edits the series.
Is this a known issue?
(version = v4.0.30319 / 2010.2.929.40)