This is a migrated thread and some comments may be shown as answers.

problem with deleting Appointments

0 Answers 90 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Alessandro
Top achievements
Rank 1
Alessandro asked on 09 Feb 2011, 11:24 AM
hi, i can't delete appointments.. in debug mode i never enter the function
here's the RadScheduler code in aspx
<telerik:RadScheduler runat="server"
ID="RadScheduler1"
 Width="1000px"
    SelectedDate="01-01-2011"
     TimeZoneOffset="03:00:00"
     DayStartTime="08:00:00"
     DayEndTime="18:00:00"
    StartEditingInAdvancedForm="false"
     DataKeyField="ID"
      DataSubjectField="Subject"
    DataStartField="Start"
     DataEndField="End"
      DataRecurrenceField="RecurrenceRule"                  
     OnFormCreating="RadScheduler1_FormCreating"
    DataRecurrenceParentKeyField="RecurrenceParentID"
    Skin="WebBlue" Culture="it-IT" FirstDayOfWeek="Monday"
    LastDayOfWeek="Friday" SelectedView="WeekView" 
    OnAppointmentDelete="RadScheduler1_OnAppointmentDelete" 
    AppointmentStyleMode="Simple" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" AllowDelete="true" OnClientAppointmentDeleting="onAppointmentDeleting"
  >

and the function
protected void RadScheduler1_OnAppointmentDelete(object sender, SchedulerCancelEventArgs e)
 
{
 
    // I never go in this function
 
}

i also set proprietyAllowDelete="true"
i cant' understand why the event don't run.

thanks
Ale

No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
Alessandro
Top achievements
Rank 1
Share this question
or