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

Original appointment data item within AppointmentCreatedEventArgs

1 Answer 48 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Antonin Jelinek
Top achievements
Rank 1
Antonin Jelinek asked on 30 Jan 2009, 01:24 PM
Hello,

in my application I use custom calendar events to be shown in Scheduler control. I need to display certain properties of my CalendarEvent object but I'm not able to get underlying DataItem in AppointmentCreated event - although there is a property Container.Appointment.DataItem, it seems to be always null.

Is there any way how can I access underlying data object in AppointmentCreated event?

Thanks,

Antonin

1 Answer, 1 is accepted

Sort by
0
Brian Mains
Top achievements
Rank 1
answered on 30 Jan 2009, 04:53 PM
Hey,

Switch to the AppointmentDataBound event, which happens after the data binding occurs.  AppointmentCreated occurs too soon.
Tags
Scheduler
Asked by
Antonin Jelinek
Top achievements
Rank 1
Answers by
Brian Mains
Top achievements
Rank 1
Share this question
or