Home All Groups Group Topic Archive Search About

why is this html table still visible?

Author
12 Feb 2007 8:23 AM
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>

Author
12 Feb 2007 8:30 AM
Alexey Smirnov
Show quote Hide quote
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">
Author
12 Feb 2007 9:00 AM
Eliyahu Goldin
<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


Show quoteHide quote
"Alexey Smirnov" <alexey.smir***@gmail.com> wrote in message
news:1171269028.932577.121790@a34g2000cwb.googlegroups.com...
> 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">
>
Author
12 Feb 2007 10:25 AM
Dan
Thanks


Show quoteHide quote
"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldD***@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.smir***@gmail.com> wrote in message
> news:1171269028.932577.121790@a34g2000cwb.googlegroups.com...
>> 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">
>>
>
>
Author
12 Feb 2007 2:12 PM
Japan Shah
Show quote Hide quote
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 %>
Author
12 Feb 2007 8:33 PM
Kevin Spencer
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.

Show quoteHide quote
"Japan Shah" <shahja***@gmail.com> wrote in message
news:1171289539.265048.270410@s48g2000cws.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 %>
>
Author
14 Feb 2007 7:48 AM
Dan
Thanks both

Show quoteHide quote
"Kevin Spencer" <unclechut***@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" <shahja***@gmail.com> wrote in message
> news:1171289539.265048.270410@s48g2000cws.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 %>
>>
>
>