Hi I am having trouble adding additional fied data to the appointmenttemplate within the scheduler.
I am getting this error:
DataBinding: 'Telerik.Web.UI.Appointment' does not contain a property with the name 'UserName'.
These are the appropriate parts of code:
<AppointmentTemplate>
<asp:Label ID="lblSubject" runat="server" Text='<%# Eval("Subject") %>' /><br />
<asp:Label ID="lblUsername" runat="server" Text='<%# Eval("UserName") %>' /><br />
</AppointmentTemplate>
SelectCommand="SELECT [ID], [Room_FK], [UserName], [Subject], [StartTime], [EndTime] FROM [ncs_AppointmentData]"
The subject label appears but the username label causes the error.
Any ideas?
I am getting this error:
DataBinding: 'Telerik.Web.UI.Appointment' does not contain a property with the name 'UserName'.
These are the appropriate parts of code:
<AppointmentTemplate>
<asp:Label ID="lblSubject" runat="server" Text='<%# Eval("Subject") %>' /><br />
<asp:Label ID="lblUsername" runat="server" Text='<%# Eval("UserName") %>' /><br />
</AppointmentTemplate>
SelectCommand="SELECT [ID], [Room_FK], [UserName], [Subject], [StartTime], [EndTime] FROM [ncs_AppointmentData]"
The subject label appears but the username label causes the error.
Any ideas?