title: Conditional rendering in ASP.NET
body: <p>Having the following markup</p>
  
  <pre><code>    &lt;li class="blabla"&gt;
          &lt;asp:LinkButton ID="myBtn" runat="server" OnCommand="myBtn_Command" /&gt;
      &lt;/li&gt;
  </code></pre>
  
  <p>Is there an elegant way to render it conditionally <strong>without</strong> making <code>li</code> item a server element (<code>runat="server"</code>) ? Overriding <code>Render()</code> is not an option as well.</p>
  
  <p>p.s.
  This is a footer content to a list, but as far as i know there is no way to control FooterTemplate visibility neither in Repeater nor in ListView.</p>