Ok now I'm not proud of this, but we all have funny business requirements that hit us sometimes and you do what you can to make "stuff" work.  I had an "emergency" come down from on-high and it was made clear that I had to implement a fix in production right away. I was told to avoid a recompile at all costs.  Aka they wanted me to change some text on an asp.net page but not touch the code-behind, which would require the recompile.

Unfortunately the requirement was that the text had to show up for only 1 item inside a repeater control.  The problem is you can't have conditions inside a binding expression.

You can tell just by looking at the following line how not-gonna-happen this is...

<%# if DirectCast(Container.DataItem, myFakeObject).ID = x then %>

Anyway ... IIF to the rescue, although this is horrid in every way .... here is the kludge.

<%# iif(DirectCast(Container.DataItem, myFakeObject).ID = x, "Some incredibly long html that outputs if the condition is true", " ") %>

In my case that html was an entire paragraph.  I'm not looking forward to hearing the screams of the developer that rolls up behind me and sees this.  Que Sara Sara.