|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
why is this html table still visible?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>
Show quote
Hide quote
On Feb 12, 9:23 am, "Dan" <d...@d.d> wrote: <table visible="false" runat="server">> 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"> will result in the table not to be
sent to the client. If it is not the desired effect, use css rule display:none. -- Show quoteHide quoteEliyahu 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"> > 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"> >> > >
Show quote
Hide quote
On Feb 12, 1:23 pm, "Dan" <d...@d.d> wrote: Hi 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> 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.
-- Show quoteHide quoteHTH, 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 %> > 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 %> >> > >
Highlight a clicked row in a gridview linked to a css
Valid Date Newbie, submit form error on postback Check if Value Has Changed Newbie, error between asp.net 1.1 and asp.net 2.0 How do I reposition Controls inside Panel in designer Put the date of today in a text control Formated Data Input Form Sub that Handles different controls How Do I Modify Text In A Cell Based On Button Click |
|||||||||||||||||||||||