title: Adding html list items dynamically from code behind?
body: <p>The above is the code in my .aspx page.
  How this can be added from code behind dyanmically?</p>
  
  <pre><code>&lt;ul runat="server" id="1"&gt;
  &lt;li&gt;&lt;a href="page.html"&gt;abc&lt;/a&gt;
    &lt;ul runat="server" id="2"&gt;
    &lt;li&gt;&lt;a href="pag2.htm"&gt;3&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="page3.htm"&gt;2&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>