Posted on: 5/17/2011 11:10:27 AM | Views : 265

So I'm trying to bind a java date picker to a textbox in formview. When a user selected a date from the date picker I want it to bind in a textbox but I have this error The name 'dateborrowedTextBox' does not exist in the current context. It was working fine when I tried using 
<input type="text" name="dateborrowedTextBox" readonly="readonly" id="dateborrowedTextBoxBind">

but when I tried to bind it in textbox using dateborrowed.ClientID it didnt find the dateborrowedTextBox. So where did I go wrong?

<input type="text" name="dateborrowedTextBox" readonly="readonly" id="dateborrowedTextBoxBind"> here's the complete code: <InsertItemTemplate> Book Title: <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="booktitleDataSource" DataTextField="booktitle" DataValueField="bookid" SelectedValue='< ...

Go to the complete details ...