title: How can i do an if statement inside a repeater
body: <p><code>&lt;asp:Repeater&gt;</code> is driving me mad..</p>
  
  <p>I need to do</p>
  
  <pre><code>&lt;ItemTemplate&gt;
      &lt;% if (Container.DataItem("property") == "test") {%&gt;
          I show this HTML
      &lt;% } else { %&gt;
          I show this other HTML
      &lt;% } %&gt;
  &lt;/ItemTemplate&gt;
  </code></pre>
  
  <p>But I can't for the life of me find any way to make that happen. Ternary isnt any good, because the amount of HTML is quite large, setting labels via a DataBind event is not very good either, as I'd have to have large blocks of HTML in the code-behind.</p>
  
  <p>Surely there's a way to do this....</p>