wcCategory.ascx file use in Gridview or detailsView cell
<p>Work on Asp.Net vs 08 C#,use northwind database . I want wcCategory.ascx file use on gridview cell </p>

<p><strong>Below in my wcCategory.ascx file</strong></p>

<pre><code>       &lt;asp:ScriptManager ID="ScriptManager1" runat="server"&gt;
&lt;/asp:ScriptManager&gt;
&lt;asp:UpdatePanel ID="UpdatePanel1" runat="server"&gt;
&lt;ContentTemplate&gt;

     &lt;asp:TextBox ID="TextBox1" runat="server"&gt;&lt;/asp:TextBox&gt;
&lt;cc1:PopupControlExtender ID="TextBox1_PopupControlExtender" runat="server" 
    DynamicServicePath="" Enabled="True" ExtenderControlID="" PopupControlID="pnlPopeUp"
    TargetControlID="TextBox1"&gt;
&lt;/cc1:PopupControlExtender&gt;

     &lt;asp:Panel ID="pnlPopeUp" runat="server"&gt;
    &lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
    DataKeyNames="CategoryID" DataSourceID="SqlDataSource1" 
             onselectedindexchanged="GridView1_SelectedIndexChanged"&gt;
    &lt;Columns&gt;
        &lt;asp:TemplateField HeaderText="CategoryID" InsertVisible="False" 
            SortExpression="CategoryID"&gt;
            &lt;EditItemTemplate&gt;
                &lt;asp:Label ID="Label1" runat="server" Text='&lt;%# Eval("CategoryID") %&gt;'&gt;&lt;/asp:Label&gt;
            &lt;/EditItemTemplate&gt;
            &lt;ItemTemplate&gt;
                &lt;asp:Label ID="lblCategoryID" runat="server" Text='&lt;%# Bind("CategoryID") %&gt;'&gt;&lt;/asp:Label&gt;
            &lt;/ItemTemplate&gt;
        &lt;/asp:TemplateField&gt;
        &lt;asp:BoundField DataField="CategoryName" HeaderText="CategoryName" 
            SortExpression="CategoryName" /&gt;
        &lt;asp:BoundField DataField="Description" HeaderText="Description" 
            SortExpression="Description" /&gt;
        &lt;asp:CommandField ShowSelectButton="True" /&gt;
    &lt;/Columns&gt;
&lt;/asp:GridView&gt;
    &lt;asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="&lt;%$ ConnectionStrings:NorthwindConnectionString %&gt;" 
    SelectCommand="SELECT [CategoryID], [CategoryName], [Description] FROM [Categories]"&gt;
&lt;/asp:SqlDataSource&gt;
&lt;/asp:Panel&gt;



&lt;/ContentTemplate&gt;

&lt;/asp:UpdatePanel&gt;
</code></pre>

<p>Bellow is my .aspx file</p>

<pre><code>&lt;div&gt;

          &lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="ProductID" DataSourceID="SqlDataSource2"&gt;
        &lt;Columns&gt;
            &lt;asp:TemplateField HeaderText="ProductID" InsertVisible="False" 
                SortExpression="ProductID"&gt;
                &lt;EditItemTemplate&gt;
                    &lt;asp:Label ID="Label1" runat="server" Text='&lt;%# Eval("ProductID") %&gt;'&gt;&lt;/asp:Label&gt;
                &lt;/EditItemTemplate&gt;
                &lt;ItemTemplate&gt;
                    &lt;asp:Label ID="Label1" runat="server" Text='&lt;%# Bind("ProductID") %&gt;'&gt;&lt;/asp:Label&gt;
                &lt;/ItemTemplate&gt;
            &lt;/asp:TemplateField&gt;
            &lt;asp:TemplateField HeaderText="ProductName" SortExpression="ProductName"&gt;
                &lt;EditItemTemplate&gt;
                    &lt;asp:TextBox ID="TextBox1" runat="server" Text='&lt;%# Bind("ProductName") %&gt;'&gt;&lt;/asp:TextBox&gt;
                &lt;/EditItemTemplate&gt;
                &lt;ItemTemplate&gt;
                    &lt;asp:Label ID="Label2" runat="server" Text='&lt;%# Bind("ProductName") %&gt;'&gt;&lt;/asp:Label&gt;
                &lt;/ItemTemplate&gt;
            &lt;/asp:TemplateField&gt;
            &lt;asp:TemplateField HeaderText="SupplierID" SortExpression="SupplierID"&gt;
                &lt;EditItemTemplate&gt;
                    &lt;asp:TextBox ID="TextBox2" runat="server" Text='&lt;%# Bind("SupplierID") %&gt;'&gt;&lt;/asp:TextBox&gt;
                &lt;/EditItemTemplate&gt;
                &lt;ItemTemplate&gt;
                    &lt;asp:Label ID="Label3" runat="server" Text='&lt;%# Bind("SupplierID") %&gt;'&gt;&lt;/asp:Label&gt;
                &lt;/ItemTemplate&gt;
            &lt;/asp:TemplateField&gt;
            &lt;asp:TemplateField HeaderText="CategoryID" SortExpression="CategoryID"&gt;
                &lt;EditItemTemplate&gt;
                    &lt;asp:TextBox ID="TextBox3" runat="server" Text='&lt;%# Bind("CategoryID") %&gt;'&gt;&lt;/asp:TextBox&gt;
                    &lt;br /&gt;

                    &lt;br /&gt;
                &lt;/EditItemTemplate&gt;
            &lt;/asp:TemplateField&gt;
            &lt;asp:TemplateField HeaderText="QuantityPerUnit" 
                SortExpression="QuantityPerUnit"&gt;
                &lt;EditItemTemplate&gt;
                    &lt;asp:TextBox ID="TextBox4" runat="server" Text='&lt;%# Bind("QuantityPerUnit") %&gt;'&gt;&lt;/asp:TextBox&gt;
                &lt;/EditItemTemplate&gt;
                &lt;ItemTemplate&gt;
                    &lt;asp:Label ID="Label5" runat="server" Text='&lt;%# Bind("QuantityPerUnit") %&gt;'&gt;&lt;/asp:Label&gt;
                &lt;/ItemTemplate&gt;
            &lt;/asp:TemplateField&gt;
            &lt;asp:CommandField ShowEditButton="True" /&gt;
        &lt;/Columns&gt;
    &lt;/asp:GridView&gt;
    &lt;asp:SqlDataSource ID="SqlDataSource2" runat="server" 
        ConnectionString="&lt;%$ ConnectionStrings:NorthwindConnectionString %&gt;" 
        SelectCommand="SELECT [ProductID], [ProductName], [SupplierID], [CategoryID], [QuantityPerUnit] FROM [Products]"&gt;
    &lt;/asp:SqlDataSource&gt;

        &lt;asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" /&gt;    
    &lt;/div&gt;
</code></pre>

<p>I want my .ascx file use on gridview Category cell </p>
