title: looping over <li> using ASP.NET
body: <p>I want to change the visibility of <code>&lt;li&gt;</code> collection throw server side.</p>
  
  <p>My HTML code looks like this:</p>
  
  <pre><code>&lt;ul&gt;
      &lt;li runat=server id="l1"&gt;&lt;/li&gt;
      &lt;li runat=server id="l2"&gt;&lt;/li&gt; 
      &lt;li runat=server id="l3"&gt;&lt;/li&gt; 
      &lt;li runat=server id="l4"&gt;&lt;/li&gt; 
      ...
  &lt;/ul&gt;
  </code></pre>
  
  <p>Now as I said I want to loop over the collection and change the visibility of some li using their ID</p>
  
  <p>something like </p>
  
  <pre><code>for (i=0;...) {
      l+I.visible=false
  }
  </code></pre>
  
  <p>Any help will be grateful.</p>