Hide asp.net fields AND table

  • Thread starter Thread starter Heinz K
  • Start date Start date
H

Heinz K

Hi all,

using asp.net 2.0 I have some fields which should only be displayed
under some circumstances, otherwise I hide them. This works fine. But
the data is displayed in a table with 5 rows, and all fields within
these rows are hidden. Is it now also possible to hide the complete
table so it's not displayed in the HTML anymore? Otherwise I still have
some whitespace which is a little bit ugly as every user wonders why
there are empty rows.... (of course the rowborders are set to 0 so the
tablerows are not displayed, but there is still the free space). Or is
there a better way to hide? Many thanks!
 
If you hide rows with css rule display:none, the rows should be hidden
completely. And, of cause, you can apply this rule to any control, including
the table.
 
Back
Top