Tables Asp.Net Visible property

  • Thread starter Thread starter Colin Graham
  • Start date Start date
C

Colin Graham

Hi guys,

im having serious trouble with my tables in asp.net. i inherited a
system that allowed me to set my tables visble property to true and
false. When i try and create a table using html i do not have that
property.

does anyone know of a different way to create a table ????

the system i inherited with the visible property in the tables uses
the following in the top part of the code -
system.web.ui.htmlcontrols.htmltable
is this the reason for the extra property ????

my tables dont seem to have this in the code.

thanks

CG
 
Hy,
put an asp:panel around your table and you can set the visible property.

<asp:panel id="pan" runat="server">
<table>
<tr>
<td></td>
</tr>
</table>
</asp:panel>


Greez
The Filzmeister
 
Christian said:
Hy,
put an asp:panel around your table and you can set the visible property.

<asp:panel id="pan" runat="server">
<table>
<tr>
<td></td>
</tr>
</table>
</asp:panel>

<asp:PlaceHolder> may be a better choice because it doesn't generate
any contents itself.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top