Is it possible to do conditional statements in the CssClass property?
<p>I'm using a repeater control. One of my item attributes is a boolean. I know I can do a conditional statement in the Text property, such as:</p>

<pre><code>Text='&lt;%# Item.Boolean ? "Text 1" : "Text 2" %&gt;
</code></pre>

<p>However, what if I want the same text but a different CSS style depending on the boolean?</p>

<p>Is code like the following possible?</p>

<pre><code>CssClass=&lt;%# Item.Boolean ? "CssClass1" : "CssClass2" %&gt;
</code></pre>
