Hi!
I use a RadScheduler in a project but I have a problem on delete appointments.
This is my aspx:
and this is my code behind:
When I hit delete button on an appointment, the page refresh and nothing else; the method schedular_AppointmentDelete doesn't fire and so I can't do nothing inside it.
Instead, when I use the insert appointment it works perfectly and I reach my goal.
Here is the code for the insert, that, as I say previously, works:
It works also with SchedulerCancelEventArgs.
I' ve tried to change into:
but nothing appens.
Any help would be appreciate.
Thanks in advance.
I use a RadScheduler in a project but I have a problem on delete appointments.
This is my aspx:
<telerik:RadScheduler ID="RadScheduler1" runat="server" SelectedView="MonthView" FirstDayOfWeek="Monday" LastDayOfWeek="Sunday" Width ="100%" Height="100%" Skin="Web20" DayStartTime="00:00:00" DayEndTime="00:00:00" AllowInsert="true" AllowEdit="false" DataKeyField="ID" DataStartField="Start" DataEndField="End" DataSubjectField="Subject" onappointmentinsert="schedular_AppointmentInsert" onappointmentdelete ="schedular_AppointmentDelete" DisplayDeleteConfirmation="false">and this is my code behind:
protected void schedular_AppointmentDelete(object sender, SchedulerCancelEventArgs e) { }When I hit delete button on an appointment, the page refresh and nothing else; the method schedular_AppointmentDelete doesn't fire and so I can't do nothing inside it.
Instead, when I use the insert appointment it works perfectly and I reach my goal.
Here is the code for the insert, that, as I say previously, works:
protected void schedular_AppointmentInsert(object sender, AppointmentInsertEventArgs e) { }It works also with SchedulerCancelEventArgs.
I' ve tried to change into:
protected void schedular_AppointmentDelete(object sender, AppointmentDeleteEventArgs e) { }but nothing appens.
Any help would be appreciate.
Thanks in advance.