title: Add a div contains asp Label from code behind in asp.net
body: <p>I tried to add a <code>div</code> which contains an <code>asp:Label</code> on a button click event.<br/>
  The following code which I used.</p>
  
  <p><strong>CODE</strong></p>
  
  <pre><code>string htmlString = "&lt;div&gt;&lt;asp:Label ID=\"l1\" runat=\"server\" Text=\"WELCOME\"&gt;&lt;/asp:Label&gt;&lt;/div&gt;";
  Panel1.Controls.Add(new LiteralControl(htmlString));
  </code></pre>
  
  <p>But I am not able to view that particular <code>div</code>.<br/>
  Please try to solve me this.<br/><br/>
  Thanks in advance.</p>