title: Putting the <tr> inside panel control in asp.net
body: <p>I am trying to put  inside the panel control in asp.net but for some reason it does not allow me to do, I am pasting my code here, I would appreciate if somebody knows this issue.</p>
  
  <pre><code> &lt;asp:Panel ID="Panel3" runat="server" GroupingText="File upload"&gt;
              &lt;tr id="Catalog_Dept"&gt;
                  &lt;td style="width: 370px; padding-left: 2px; -ms-word-wrap: normal;"&gt;
                      Dept #: &amp;nbsp;&lt;span&gt;
                          &lt;asp:TextBox ID="txtDept" runat="server" Width="30px" CssClass="RegText excludeAdd txtHier"
                              onkeypress="return IsNumber(event,this);" MaxLength="3" Enabled="False"&gt;&lt;/asp:TextBox&gt;
                      &lt;/span&gt;&amp;nbsp;&lt;asp:ImageButton ID="imgDept" ImageUrl="../Images/Folder.gif" alt=""
                          class="imgAddItem imgHier" runat="server" CssClass="imgAlign" OnClick="imgDept_Click" /&gt;
                      &amp;nbsp;&lt;asp:Label ID="lblDeptDesc" runat="server" CssClass="RegText descriptionLabel excludeAdd"&gt;&lt;/asp:Label&gt;
                      &lt;br /&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr id="Catalog_Supl"&gt;
                  &lt;td style="padding-left: 2px; padding-top: 5px"&gt;
                      Sup #: &lt;span style="padding-left: 13px"&gt;
                          &lt;asp:TextBox ID="txtSupl" runat="server" Width="30px" CssClass="RegText excludeAdd txtHier"
                              onkeypress="return IsNumber(event,this);" MaxLength="3" Enabled="False"&gt;&lt;/asp:TextBox&gt;&lt;/span&gt;
                      &amp;nbsp;&lt;asp:ImageButton ID="imgSupl" ImageUrl="../Images/Folder.gif" alt="" class="imgAddItem imgHier"
                          runat="server" CssClass="imgAlign" OnClick="imgSupl_Click" /&gt;
                      &amp;nbsp;&lt;asp:Label ID="lblSuplDesc" runat="server" CssClass="RegText descriptionLabel excludeAdd"&gt;&lt;/asp:Label&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr id="Catalog_Mfg"&gt;
                  &lt;td style="padding-left: 2px; padding-top: 5px"&gt;
                      Mfg #: &lt;span style="padding-left: 13px"&gt;
                          &lt;asp:TextBox ID="txtMfg" runat="server" Width="30px" CssClass="RegText excludeAdd txtHier"
                              onkeypress="return IsNumber(event,this);" MaxLength="3" Enabled="False"&gt;&lt;/asp:TextBox&gt;&lt;/span&gt;
                      &amp;nbsp;&lt;asp:ImageButton ID="imgMfg" ImageUrl="../Images/Folder.gif" alt="" class="imgAddItem imgHier"
                          runat="server" CssClass="imgAlign" OnClick="imgMfg_Click" /&gt;
                      &amp;nbsp;&lt;asp:Label ID="lblMfgDesc" runat="server" CssClass="RegText descriptionLabel excludeAdd"&gt;&lt;/asp:Label&gt;
                  &lt;/td&gt;
                   &lt;/tr&gt;
                  &lt;/asp:Panel&gt;
  </code></pre>