<asp:UpdatePanel ID="asd" runat="server">
<ContentTemplate>
<asp:GridView ID="gvUpdate" runat="server">
<Columns>
<asp:TemplateField HeaderText="DATE">
<ItemTemplate>
<asp:Label ID="lblDate" runat="server" Text='<%# Eval("DATE","{0:dd.MM.yyyy}")%>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtDate" runat="server" Text='<%# Eval("DATE","{0:dd.MM.yyyy}") %>'></asp:TextBox>
</EditItemTemplate>
</asp:TemplateField>
</Columns>
</ContentTemplate>
i want jquery datepicker for “txtDate” how to make ?
Thank you…
The most simple way is to place a class on your Date Text box, and just use jQuery to add the datepicker…
and the javascript for init this is:
$(".clDate").datepicker();but the update panel is need again initialization after the Update, so the final code will be:Update:About the Sys. -> http://msdn.microsoft.com/en-us/library/bb311028.aspx