G
Guadala Harry
AFAIK, the Panel control renders as a <SPAN> in the rendered HTML.
Is there an alternative to Panel that renders NOTHING?
Here is what I'm doing:
I need to place a bunch of HTML in an ASCX - but cause only some of it to be
rendered based on runtime conditions. I currently have the behaviour I want,
but by using multiple Panel controls that encompass the sections of HTML
that are to be rendered. My code-behind logic makes sets the .visible
property of the Panel controls.
I just want to do the same thing - but not have the SPAN elementes show up
in the rendered page.
Thanks!
Is there an alternative to Panel that renders NOTHING?
Here is what I'm doing:
I need to place a bunch of HTML in an ASCX - but cause only some of it to be
rendered based on runtime conditions. I currently have the behaviour I want,
but by using multiple Panel controls that encompass the sections of HTML
that are to be rendered. My code-behind logic makes sets the .visible
property of the Panel controls.
I just want to do the same thing - but not have the SPAN elementes show up
in the rendered page.
Thanks!