Using jquery calender control in ASP.Net C#
<p>I am using a ready-made calender control available at <a href="http://www.eyecon.ro/datepicker/#download/datepicker.zip" rel="nofollow">http://www.eyecon.ro/datepicker/#download/datepicker.zip</a>.</p>

<p>The date picker's object is readily provided.</p>

<p>In that there is one example showing that the calendar control is attached with the text box but my problem is it works fine with the HTML text box, but when I try to do it with ASP it does not attach with asp:textbox.</p>

<p>my code is:</p>

<pre class="lang-html prettyprint-override"><code>&lt;head runat="server"&gt;
     &lt;title&gt;&lt;/title&gt;
     &lt;link rel="stylesheet" media="screen" type="text/css" href="DatePicker/cssdatepicker.css" /&gt;
     &lt;script type="text/javascript" src="DatePicker/js/datepicker.js"&gt;&lt;/script&gt;
     &lt;script type="text/javascript"&gt;


        $('#TextBox1').DatePicker({
            flat: true,
            date: '2008-07-31',
            current: '2008-07-31',
            calendars: 1,
            starts: 1
        });

  &lt;/script&gt;
  &lt;/head&gt; 
&lt;body&gt;
     &lt;form id="form1" runat="server"&gt;
     &lt;div&gt;

         &lt;asp:TextBox ID="TextBox1" runat="server"&gt;   &lt;/asp:TextBox&gt;
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
</code></pre>
