Want to edit series of appointment on drag dropp

1 posts, 0 answers
  1. Rahul
    Rahul avatar
    142 posts
    Member since:
    May 2009

    Posted 16 Mar 2011 Link to this post

    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
Back to Top