Date Picker Problem
<p>I started using Date Picker, and liked it very much. But now I am facing a problem with it. 
I have an ASP.Net application. I have a Master Page, and a Default.aspx page, and several user controls (.ascx pages). In one of those user controls, I have a GridView with textboxes containing dates. Those textboxes use datepickers. The GridView is in an UpdatePanel. I use custom paging for the GridView. When e.g. I need to go to the next page, that UpdatePanel is updated. The problem is that when I go from the initial page to another page, the date pickers disappear. 
Here is my code:
At the bottom of the master page:</p>

<pre><code>&lt;script type="text/javascript"&gt; 
$(document).ready(function() {
    $("input.date").datepicker({ 
        showButtonPanel: true, 
        dateFormat: 'mm/dd/y', 
        changeYear: true, 
        closeText: 'X' 
    });
});
&lt;/script&gt;
</code></pre>

<p>In the GridView:</p>

<pre><code>&lt;asp:TextBox ID="txtWFHCDate" runat="server" Text='&lt;%#Eval("StrHCDate") %&gt;' BorderStyle="None" Width="80%" CssClass="date" &gt;&lt;/asp:TextBox&gt; 
</code></pre>

<p>The html generated for the initial GridView page:</p>

<pre><code>&lt;input id="ctl00_CPHDefault_tcTPS_TPProd_ctl01_tcProduction_TPWorkflow_WorkflowGridView_ctl05_txtWFHCDate" class="date hasDatepicker" type="text" style="border-style:None;width:80%;" value="10/18/11" name="ctl00$CPHDefault$tcTPS$TPProd$ctl01$tcProduction$TPWorkflow$WorkflowGridView$ctl05$txtWFHCDate"&gt;
</code></pre>

<p>The html generated after changing GridView page:</p>

<pre><code>&lt;input id="ctl00_CPHDefault_tcTPS_TPProd_ctl01_tcProduction_TPWorkflow_WorkflowGridView_ctl05_txtWFHCDate" class="date" type="text" style="border-style:None;width:80%;" value="10/18/11" name="ctl00$CPHDefault$tcTPS$TPProd$ctl01$tcProduction$TPWorkflow$WorkflowGridView$ctl05$txtWFHCDate"&gt;
</code></pre>

<p>I tried to move the script from Master Page to the Default.aspx page, and to .ascx page, but nothing helps.</p>

<p>Could you please help?
Thanks.</p>
