Jquery datepicker write in other textbox
<p>I.ve a problem with jquery datepicker. Here is tehe code</p>

<pre><code>&lt;asp:GridView ID="CompIncGridView1" runat="server" AllowPaging="True" AllowSorting="True"
                    AutoGenerateColumns="False" DataKeyNames="D_id" ClientIDMode="Static" &gt;
                    &lt;Columns&gt;
                        &lt;asp:TemplateField HeaderText="Data idoneità"&gt;
                            &lt;EditItemTemplate&gt;
                            &lt;/EditItemTemplate&gt;
                            &lt;ItemTemplate&gt;
                                &lt;asp:TextBox CssClass="DatePick" ID="ComplyDateTB1" runat="server" Text='&lt;%# Bind("ComplyDate", "{0:d}") %&gt;'&gt;&lt;/asp:TextBox&gt;
                            &lt;/ItemTemplate&gt;
                        &lt;/asp:TemplateField&gt;

                    &lt;/Columns&gt;
                &lt;/asp:GridView&gt;
</code></pre>

<p>and this is the jquery code</p>

<pre><code>$(document).ready(function () {
            $(".DatePick").datepicker($.datepicker.regional['it']);
});
</code></pre>

<p>The problem is that when I click on any textbox, the calendar appears but when I choose the day, the date is written only on the first textbox of the table.</p>

<p>thanks</p>
