the yellow highlight gives error running the page
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Two-way binding is only supported for properties. 'Text' is not a valid property on 'Calendar'
How can I have the calendar show the "DateofIssue" while in edit mode?
DougP
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Two-way binding is only supported for properties. 'Text' is not a valid property on 'Calendar'
How can I have the calendar show the "DateofIssue" while in edit mode?
Code:
<asp:TemplateField HeaderText="DateofIssue" SortExpression="DateofIssue">
<EditItemTemplate>
<asp:Calendar ID="DateofIssueCalEdit" [highlight #FCE94F]Text='<%# Bind("DateofIssue") %>'>[/highlight] runat="server" >
</asp:Calendar>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="DateofIssueCalItem" runat="server" Text='<%# Bind("DateofIssue") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
DougP