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
%@dotnet.itags.org. 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>On Feb 12, 9:23 am, "Dan" <d...@.d.d> wrote:
> 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">
<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" <alexey.smirnov@.gmail.com> wrote in message
news:1171269028.932577.121790@.a34g2000cwb.googlegroups.com...
> On Feb 12, 9:23 am, "Dan" <d...@.d.d> wrote:
>
> <table visible="false" runat="server">
>
Thanks
"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@.mMvVpPsS.org> schreef in
bericht news:e$SNDRoTHHA.4404@.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" <alexey.smirnov@.gmail.com> wrote in message
> news:1171269028.932577.121790@.a34g2000cwb.googlegroups.com...
>
On Feb 12, 1:23 pm, "Dan" <d...@.d.d> wrote:
> 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 %>
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" <shahjapan@.gmail.com> wrote in message
news:1171289539.265048.270410@.s48g2000cws.googlegroups.com...
> On Feb 12, 1:23 pm, "Dan" <d...@.d.d> wrote:
> 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 %>
>
Thanks both
"Kevin Spencer" <unclechutney@.nothinks.com> schreef in bericht
news:OBMNUUuTHHA.5060@.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" <shahjapan@.gmail.com> wrote in message
> news:1171289539.265048.270410@.s48g2000cws.googlegroups.com...
>
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment