Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
530
How to programmically put an appointment into edit mode
posted

Hello,

I am creating an appointment in code and I want to automatically enter edit mode.  Here is my code so far:

appt = new Appointment(dtBegin, dtEnd);

_CalInfo.Appointments.Add(appt);

appt.Selected =
true;

_CalInfo.SelectedAppointments.Add(appt);

this.ultraDayView1.PerformAction(UltraDayViewAction.EnterEditMode);

 However the appointment is never selected, so the EnterEditMode does not happen.

 Thanks for any help!

Bob