Hi friends, My problem is, i am using a Javascript calender in my datagrid in asp.net and wants to make update the date based on the selection on the calender's date while editing, which is not happening. Can any one help me to solve this problem. Code is as follows
<asp:TemplateColumn HeaderText="Event Dt.">
<ItemTemplate>
<%#Container.DataItem("EventDate")%>
</ItemTemplate>
<EditItemTemplate>
<%--<asp:TextBox ID="txtDate" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Eventdate") %>' Width="80"/> --%>
<input type="text" name="txtDate" style="width: 80px" runat="server" text='<%# DataBinder.Eval(Container.DataItem, "Eventdate") %>'>
<img id="img1" src="../images/SmallCalendar.gif" onclick="w_displayDatePicker(this.id.replace('img1','txtDate'));" style="cursor: hand" />
</EditItemTemplate>
</asp:TemplateColumn>