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
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