{
this.C1WebSchedule1.DataStorage.AppointmentStorage.Appointments.Clear();
C1.C1Schedule.Appointment app1 = new C1.C1Schedule.Appointment();
app1.Start = DateTime.Now;
app1.End = DateTime.Now.AddHours(1);
this.C1WebSchedule1.DataStorage.AppointmentStorage.Appointments.Add(app1);
C1.C1Schedule.Appointment app2 = new C1.C1Schedule.Appointment();
app2.Start = DateTime.Now.AddHours(1);
app2.End = DateTime.Now.AddHours(2);
this.C1WebSchedule1.DataStorage.AppointmentStorage.Appointments.Add(app2);
Response.Write("GUID of App2 = " + app2.Key.GetValue(0).ToString()); //-------- This is the line of code which returns Unique ID of App2 object
}
<acallegari> wrote in message news:215227@10.0.1.98... 1) I have to manage C1WebSchedule without Dialog Box. in the event BeforeAppointmentCreate I inserted e.CancelEvent = True but Dialog Box is launched 2) solved point 1, how can I find ID unique of the appointment thanks http://helpcentral.componentone.com/cs/forums/p/78485/215227.aspx#215227