Hello,
I have the similar problem with IfCompare method...the method works fine if it has to present a link, for example.
But if the return value is True, I would like to generate a piece of code which contains my custom control. Is that possible to do somehow? I also must say that my control is registered, and when I use it outside IfCompare method it works perfectly.
The code I use, and that doesn't work is the following:
<%# IfCompare(Eval("Free"), "Free", "", "<uc1:MyControl id=\"" + Eval("FName") + "\" runat=\"server\" />") %>
When I checked it using FireBug, I saw that this method didn't load my control.