I want to edit the series of appointment on drag drop....
I want if i want to drag the one appoint then automatically edit the series of whole that appointment ( automatically update the recurrence rule)
AppointmentsBL objAppointmentNew = new AppointmentsBL();
objAppointmentNew.ClinicId = -1;
objAppointmentNew.InstructorId = intInstructorId;
objAppointmentNew.Start = e.ModifiedAppointment.Start;
objAppointmentNew.End = e.ModifiedAppointment.End;
objAppointmentNew.RecurrenceParentID = Convert.ToInt32(e.Appointment.RecurrenceParentID);
objAppointmentNew.RecurrenceRule = e.ModifiedAppointment.RecurrenceRule;
objAppointmentNew.Annotations = string.Empty;
objAppointmentNew.Reminder = string.Empty;
objAppointmentNew.Subject = e.ModifiedAppointment.Subject;
objAppointmentNew.Description = e.ModifiedAppointment.Description;
objAppointmentNew.UserId = intInstructorId;
objAppointmentNew.Save();
the above code is used. It's updated start date and end date proper but not update recurrence rule.. ?
how to do this. Please help it's urgent. Please reply me within 24 hour
thanks
I want if i want to drag the one appoint then automatically edit the series of whole that appointment ( automatically update the recurrence rule)
AppointmentsBL objAppointmentNew = new AppointmentsBL();
objAppointmentNew.ClinicId = -1;
objAppointmentNew.InstructorId = intInstructorId;
objAppointmentNew.Start = e.ModifiedAppointment.Start;
objAppointmentNew.End = e.ModifiedAppointment.End;
objAppointmentNew.RecurrenceParentID = Convert.ToInt32(e.Appointment.RecurrenceParentID);
objAppointmentNew.RecurrenceRule = e.ModifiedAppointment.RecurrenceRule;
objAppointmentNew.Annotations = string.Empty;
objAppointmentNew.Reminder = string.Empty;
objAppointmentNew.Subject = e.ModifiedAppointment.Subject;
objAppointmentNew.Description = e.ModifiedAppointment.Description;
objAppointmentNew.UserId = intInstructorId;
objAppointmentNew.Save();
the above code is used. It's updated start date and end date proper but not update recurrence rule.. ?
how to do this. Please help it's urgent. Please reply me within 24 hour
thanks