470,636 Members | 1,473 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,636 developers. It's quick & easy.

why is this html table still visible?

Dan
Hi,

i defined a html table with Visible="false", but i still see it in the
browser.
Why and how to hide that table?
Thanks
Dan

%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default3.aspx.vb"
Inherits="Default3" %>
<head runat="server" <title>Untitled Page</title</head>
<body>
<form id="form1" runat="server">
<table visible="false">
<tr<td>
must be hidden!
</td></tr>
</table>
</form>
</body>
</html>
Feb 12 '07 #1
6 16941
On Feb 12, 9:23 am, "Dan" <d...@d.dwrote:
Hi,

i defined a html table with Visible="false", but i still see it in the
browser.
Why and how to hide that table?
Thanks
Dan

%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default3.aspx.vb"
Inherits="Default3" %>
<head runat="server" <title>Untitled Page</title</head>
<body>
<form id="form1" runat="server">
<table visible="false">
<tr<td>
must be hidden!
</td></tr>
</table>
</form>
</body>
</html>

<table visible="false" runat="server">

Feb 12 '07 #2
<table visible="false" runat="server"will result in the table not to be
sent to the client. If it is not the desired effect, use css rule
display:none.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Alexey Smirnov" <al************@gmail.comwrote in message
news:11**********************@a34g2000cwb.googlegr oups.com...
On Feb 12, 9:23 am, "Dan" <d...@d.dwrote:
>Hi,

i defined a html table with Visible="false", but i still see it in the
browser.
Why and how to hide that table?
Thanks
Dan

%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default3.aspx.vb"
Inherits="Default3" %>
<head runat="server" <title>Untitled Page</title</head>
<body>
<form id="form1" runat="server">
<table visible="false">
<tr<td>
must be hidden!
</td></tr>
</table>
</form>
</body>
</html>


<table visible="false" runat="server">

Feb 12 '07 #3
Dan
Thanks
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgschree f in
bericht news:e$**************@TK2MSFTNGP03.phx.gbl...
<table visible="false" runat="server"will result in the table not to be
sent to the client. If it is not the desired effect, use css rule
display:none.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Alexey Smirnov" <al************@gmail.comwrote in message
news:11**********************@a34g2000cwb.googlegr oups.com...
>On Feb 12, 9:23 am, "Dan" <d...@d.dwrote:
>>Hi,

i defined a html table with Visible="false", but i still see it in the
browser.
Why and how to hide that table?
Thanks
Dan

%@ Page Language="VB" AutoEventWireup="false"
CodeFile="Default3.aspx.vb"
Inherits="Default3" %>
<head runat="server" <title>Untitled Page</title</head>
<body>
<form id="form1" runat="server">
<table visible="false">
<tr<td>
must be hidden!
</td></tr>
</table>
</form>
</body>
</html>


<table visible="false" runat="server">


Feb 12 '07 #4
On Feb 12, 1:23 pm, "Dan" <d...@d.dwrote:
Hi,

i defined a html table with Visible="false", but i still see it in the
browser.
Why and how to hide that table?
Thanks
Dan

%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default3.aspx.vb"
Inherits="Default3" %>
<head runat="server" <title>Untitled Page</title</head>
<body>
<form id="form1" runat="server">
<table visible="false">
<tr<td>
must be hidden!
</td></tr>
</table>
</form>
</body>
</html>
Hi Dan,
what you can do to hide the table under ASP.NET
go to the HTML view of it and write the following code below your
table

<% IF condtion Then %>
<table visible="false">
<tr<td>
must be hidden!
</td></tr>
</table>
<% END IF %>

Feb 12 '07 #5
The table is not an ASP.Net Control. It has no runat="server" attribute.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

The shortest distance between 2 points is a curve.

"Japan Shah" <sh*******@gmail.comwrote in message
news:11**********************@s48g2000cws.googlegr oups.com...
On Feb 12, 1:23 pm, "Dan" <d...@d.dwrote:
>Hi,

i defined a html table with Visible="false", but i still see it in the
browser.
Why and how to hide that table?
Thanks
Dan

%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default3.aspx.vb"
Inherits="Default3" %>
<head runat="server" <title>Untitled Page</title</head>
<body>
<form id="form1" runat="server">
<table visible="false">
<tr<td>
must be hidden!
</td></tr>
</table>
</form>
</body>
</html>

Hi Dan,
what you can do to hide the table under ASP.NET
go to the HTML view of it and write the following code below your
table

<% IF condtion Then %>
<table visible="false">
<tr<td>
must be hidden!
</td></tr>
</table>
<% END IF %>

Feb 12 '07 #6
Dan
Thanks both

"Kevin Spencer" <un**********@nothinks.comschreef in bericht
news:OB**************@TK2MSFTNGP02.phx.gbl...
The table is not an ASP.Net Control. It has no runat="server" attribute.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

The shortest distance between 2 points is a curve.

"Japan Shah" <sh*******@gmail.comwrote in message
news:11**********************@s48g2000cws.googlegr oups.com...
>On Feb 12, 1:23 pm, "Dan" <d...@d.dwrote:
>>Hi,

i defined a html table with Visible="false", but i still see it in the
browser.
Why and how to hide that table?
Thanks
Dan

%@ Page Language="VB" AutoEventWireup="false"
CodeFile="Default3.aspx.vb"
Inherits="Default3" %>
<head runat="server" <title>Untitled Page</title</head>
<body>
<form id="form1" runat="server">
<table visible="false">
<tr<td>
must be hidden!
</td></tr>
</table>
</form>
</body>
</html>

Hi Dan,
what you can do to hide the table under ASP.NET
go to the HTML view of it and write the following code below your
table

<% IF condtion Then %>
<table visible="false">
<tr<td>
must be hidden!
</td></tr>
</table>
<% END IF %>


Feb 14 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Al Wilkerson | last post: by
1 post views Thread by Al Wilkerson | last post: by
reply views Thread by aeshtry | last post: by
2 posts views Thread by Sehboo | last post: by
1 post views Thread by sweatha | last post: by
???
reply views Thread by Stoney L | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.