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

Want to edit series of appointment on drag dropp

0 Answers 29 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 16 Mar 2011, 04:44 PM
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

No answers yet. Maybe you can help?

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