How do I hide user control?

I have an user control in my default framework-file. This is called in the ordinary way: This control should be exposed on all page types. However, when a certain condition is met on any page the control should not be displayed. How do I hide an entire control? Where do I add the logic - in the framework-code or in the control-code? Thanks in advance! Frank
Mar 30, 2006 12:53
Depends on how well you want it to handle error and were you have the "certain condition". But one easy and straight forward way in EPi is like this. If PropertyName doesnt have any value false is returned, works with any property type in EPi. /HAXEN
Mar 30, 2006 13:40
So simple... Excellent!
Mar 30, 2006 14:45
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.