Posted on: 6/16/2014 5:11:51 PM | Views : 363

Hi,
I am getting a parser error for the following line of code. I am trying to format a date in the textbox as MM/dd/yyyy but it is throwing back
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: The server tag is not well formed.

<asp:TextBox ID="txtInsertDateReceived" runat="server" Width="80" MaxLength="10" Text="<%# string.Format("{0:MM/dd/yyyy}", BindItem.CASES.DATE_CORRESPONDENCE_RECEIVED)    %>" />

Go to the complete details ...