I've been trying to understand how to use this property of the scheduler. What I need to do is be able to populate the controls of the AppointmentTemplate programatically. The example provided does everything 'inline'.
My scheduler is not directly linked to a database, but to an ArrayList of custom appointment objects (which contain a whole bunch of extra data). This extra data cannot be used as a resource of the appointment, but its required nonetheless.
|1||<telerik:RadScheduler ID="RadScheduler1" runat="server" DataKeyField="ID" DataSubjectField="Subject" DataStartField="Start" DataEndField="End" Width="100%"> |
|2|| <AppointmentTemplate> |
|3|| <asp:Image ID="calIcon" runat="server" AlternateText="Icon"/> |
|4|| </AppointmentTemplate> |
Is there some sort of event/hook in which I can set the imageUrl dynamically based on certain data of an appointment? I need to have access to the 'parent appointment' to work out what to display for the image.