Thanks for your reply
we need ClientIDMode as Static as we are using control value to several places, solution suggested by you does not helped me, issue is still there. As a work around we are using below approach as this will generate ids that can be easily used
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" ClientIDRowSuffix="ProductName" ClientIDMode="Static" >
<Columns>
<asp:BoundField DataField="ProductName" HeaderText="Product Name" />
<asp:TemplateField HeaderText="Product Date">
<ItemTemplate>
<asp:TextBox ID="txtProductDate" ClientIDMode="Predictable" runat="server" class="txtDatepicker"></asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<script type="text/javascript">
$(function () {
$(document).ready(function () {
$(".txtDatepicker").datepicker({
});
});
});
</script>