I'm trying to do access the DataKeyField's value for whatever appointment was cilcked from the
OnAppointmentClick event so that I can redirect to a different page with the DataKeyField's value sent along with it, which will be used to pull and display detailed data from the database. I've searched the forums and can't seem to find out how this is done. The scheduler is a read-only scheduler so using events that fire on modified appointments will not work.
The code is here:
<telerik:RadScheduler ID="ChangeCalendar" runat="server" DataKeyField="ChangeControlID" |
DataSubjectField="ChangeControlNumber" DataStartField="TargetStartDate" |
DataEndField="TargetEndDate" AllowDelete="False" OverflowBehavior="Expand" |
OnAppointmentClick="ChangeCalendar_OnAppointmentClick" |
ReadOnly="True" SelectedView="MonthView"> |
</telerik:RadScheduler> |
I know this has to be easy... but I cannot seem to find anything about how to do this.
Thanks.