Hi,
I am experiencing a problem in my scheduler. When I drag resize an appointment in week og day mode, the Recorrencerule is not updated, although I check the "resize the series" radio. This results in the appointment Start and End times being updated, but not the RecurrenceRule.
I am taking the RecurrenceRule from the "appointmentToUpdate" parameter and putting that into the appointment I want to update.
Am I forgetting some small setting somewhere?
I am experiencing a problem in my scheduler. When I drag resize an appointment in week og day mode, the Recorrencerule is not updated, although I check the "resize the series" radio. This results in the appointment Start and End times being updated, but not the RecurrenceRule.
I am taking the RecurrenceRule from the "appointmentToUpdate" parameter and putting that into the appointment I want to update.
public override void Update( RadScheduler owner, Appointment appointmentToUpdate ) { |
HL_Appointment app = GetDBAppointment( appointmentToUpdate ); |
if( app != null ) { |
app.End = appointmentToUpdate.End; |
int redParID = 0; |
if( appointmentToUpdate.RecurrenceParentID != null && int.TryParse( appointmentToUpdate.RecurrenceParentID.ToString(), out redParID ) ) |
app.RecurrenceParentID = redParID; |
app.RecurrenceRule = appointmentToUpdate.RecurrenceRule; |
app.Start = appointmentToUpdate.Start; |
app.Subject = appointmentToUpdate.Subject; |
ReadyUpdateAppointmenRessources( appointmentToUpdate ); |
db.SubmitChanges(); |
} |
} |
Am I forgetting some small setting somewhere?