JQuery Countdown timer inside Gridview that is placed inside Update Panel Issue
<p>I have A gridview inside an updatepanel that is showing deals info with expiry date. for the expiry date i am showing it using jquery Countdown timer.i am adding this timer inside RowDataBoundEvent. When page is first load and the jquery count down timer works fine. </p>

<p>now i have a list of checkboxes that shows categories. when a category is checked there is asynchronus post back and new records added to the gridview but these records does not loading the timer.</p>

<p>Can anybody tell me what is the issue actually?
thanks</p>

<p>here my databount code:</p>

<pre><code>protected void gdvDeals_DataBound1(object sender, GridViewRowEventArgs e)
{
    if (e.Row.RowType == DataControlRowType.DataRow)
    {
         Label lbl = (Label)e.Row.FindControl("lblID");
         Label lblExp = (Label)e.Row.FindControl("lblExp");

         string scr = @"&lt;script type='text/javascript'&gt;
         Sys.Application.add_load(init);
         function init()
         {$(function() {
         var austDay = new Date('" + lblExp.Text + "');  
         $('#timer').countdown({ until: austDay });
         $('#year').text(austDay.getFullYear());";
         scr += @" });}&lt;/script&gt;
         &lt;div runat='server' id='timer' class='worth_Border2'&gt;&lt;/div&gt;";

         Literal lt = (Literal)e.Row.FindControl("ltTimerDiv");
         lt.Text = scr;
     }

 }
</code></pre>
