How jQuery Datepicker use in WebControl
<p>I work on Asp.Net VS08 C#. i create a web control .How to use JQuery Datepicker on webcontrol.</p>

<pre><code>&lt;%@ Control Language="C#" AutoEventWireup="true" CodeBehind="wcCalendar.ascx.cs" Inherits="Jquery1._8Version.wcCalendar" %&gt;

 &lt;link type="text/css" href="css/ui-lightness/jquery-ui-1.8rc2.custom.css" rel="stylesheet" /&gt;
    &lt;script type="text/javascript" src="js/jquery-1.4.2.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="js/jquery-ui-1.8rc2.custom.min.js"&gt;&lt;/script&gt;

     &lt;script type="text/javascript"&gt;
        $(function() {
        $("#dtpCalendar").datepicker();
        });
    &lt;/script&gt;



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

<p>I want to use this control on .aspx page ,</p>

<pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JGrid.aspx.cs" Inherits="Jquery1._8Version.JGrid" %&gt;

&lt;%@ Register src="wcCalendar.ascx" tagname="wcCalendar" tagprefix="uc1" %&gt;

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;

&lt;html xmlns="http://www.w3.org/1999/xhtml" &gt;
&lt;head runat="server"&gt;
    &lt;title&gt;&lt;/title&gt;

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

        &lt;uc1:wcCalendar ID="wcCalendar1" runat="server" /&gt;

    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p><strong>Clicking on textbox Datepicker not show? how to solve it?</strong></p>
