I have this aspx code: and i received an Error On Page: DataBinding: Telerik.Web.Ui.Appoint Does not contain a property with a name 'Remark'
I have checked on my store proc for insert and update and select and they are working fine. Where did i go wrong? Thanks
<telerik:RadScheduler ID="RadScheduler1" runat="server"
DataEndField="EDateTime" DataKeyField="Appt_ID"
DataSourceID="sdsAppointment" DataStartField="SDateTime" DayEndTime="21:00:00"
DataSubjectField="Remark" HoursPanelTimeFormat="htt" Skin="Outlook"
ValidationGroup="RadScheduler1">
<InlineInsertTemplate>
<asp:TextBox runat="server" ID="RemarkTextBox" Text='<%# Bind("Remark") %>' Width="99%"></asp:TextBox>
User:
<asp:TextBox runat="server" ID="LNameTextBox" Text='<%# Bind("LName") %>' Width="99%"></asp:TextBox>
<asp:LinkButton runat="server" ID="InsertLinkButton" CommandName="Insert" Text="Insert"></asp:LinkButton>
<asp:LinkButton runat="server" ID="CancelLinkButton" CommandName="Cancel" Text="Cancel"></asp:LinkButton>
</InlineInsertTemplate>
<InlineEditTemplate>
<asp:TextBox runat="server" ID="RemarkTextBox" Text='<%# Bind("Remark") %>' Width="99%"></asp:TextBox>
User:
<asp:TextBox runat="server" ID="LNameTextBox" Text='<%# Bind("LName") %>' Width="99%"></asp:TextBox>
<asp:LinkButton runat="server" ID="UpdateLinkButton" CommandName="Update" Text="Update"></asp:LinkButton>
<asp:LinkButton runat="server" ID="CancelLinkButton" CommandName="Cancel" Text="Cancel"></asp:LinkButton>
</InlineEditTemplate>
</telerik:RadScheduler>
<
asp:SqlDataSource ID="sdsAppointment" runat="server"
ConnectionString="<%$ ConnectionStrings:ClinicMgmtConnectionString %>"
DeleteCommand="spAppointment_Delete" DeleteCommandType="StoredProcedure"
InsertCommand="spAppointment_Insert" InsertCommandType="StoredProcedure"
SelectCommand="spAppointment_Select" SelectCommandType="StoredProcedure"
UpdateCommand="spAppointment_Update" UpdateCommandType="StoredProcedure">
<DeleteParameters>
<asp:Parameter Name="Appt_ID" Type="Int32" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="Appt_ID" Type="Int32" />
<asp:Parameter Name="SDateTime" Type="DateTime" />
<asp:Parameter Name="EDateTime" Type="DateTime" />
<asp:Parameter Name="Remark" Type="String" />
<asp:Parameter Name="LName" Type="String" />
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="SDateTime" Type="DateTime"/>
<asp:Parameter Name="EDateTime" Type="DateTime" />
<asp:Parameter Name="Remark" Type="String" />
<asp:Parameter Name="LName" Type="String" />
</InsertParameters>
</asp:SqlDataSource>