473,385 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to hide table?

Hello,

( using ASP.net / VB)

i have a table with 2 dynamic text taken from a database. I want to hide the
table and its entire contents when the dynamic text <%#
dataSetBibliotecas.FieldValue("Titulo", Container) %> is empty.

<table width="450" border="0" cellpadding="0" cellspacing="2">
<tr>
<td><%# dataSetBibliotecas.FieldValue("Titulo", Container) %></td>
<td><a href="http://<%# dataSetBibliotecas.FieldValue("Link", Container)
%>">http://<%# dataSetBibliotecas.FieldValue("Link", Container) %></a></td>
</tr>
</table>

How can i do this?

Thank You,
Miguel
Nov 18 '05 #1
2 7831
might want to try the panel webcontrol.
Nov 18 '05 #2
Hi,

<table width="450" border="0" cellpadding="0" cellspacing="2">
specify following attributes for your table
id="tableOne" runat="server"

in the pageload hide it using the following code

tableOne.Visible = false;
HTH
Regards
Ashish M Bhonkiya

"Miguel Dias Moura" <we****@27NOSPAMlamps.com> wrote in message
news:uc**************@TK2MSFTNGP09.phx.gbl...
Hello,

( using ASP.net / VB)

i have a table with 2 dynamic text taken from a database. I want to hide the table and its entire contents when the dynamic text <%#
dataSetBibliotecas.FieldValue("Titulo", Container) %> is empty.

<table width="450" border="0" cellpadding="0" cellspacing="2">
<tr>
<td><%# dataSetBibliotecas.FieldValue("Titulo", Container) %></td>
<td><a href="http://<%# dataSetBibliotecas.FieldValue("Link", Container) %>">http://<%# dataSetBibliotecas.FieldValue("Link", Container) %></a></td> </tr>
</table>

How can i do this?

Thank You,
Miguel

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: John M | last post by:
I want to hide the first row in my table and if a user click on a show button than show it. If it is visible than user can hide it with click a hide button. In default I hide it with: <tr...
18
by: Michael Skind | last post by:
Hello, I use a simple Table : <TABLE> <TR 1> <TD></TD> </TR> <TR 2> <TD></TD> </TR>
7
by: Mad Scientist Jr | last post by:
Through messing around I got IE6 (win xp) to show/hide a table row. I gave my <TR> an ID of "trRow" and trRow.style.display='none'; hides it trRow.style.display='block'; displays it (will any...
1
by: Don Grover | last post by:
I have a table thats wrapped in a div tag, that when user selects 1 of 2 radio buttons it hides or shows table, this works ok. But I want to set the table show hide on what the existing state of...
9
by: Wang, Jay | last post by:
I try to group several rows in a table into a div and show/hide them by click on a button somewhere with a javascript link. When clicked, the link will toggle the style of the div section's style...
19
by: dmiller23462 | last post by:
Hi guys....I have absolutely NO IDEA what I'm doing with Javascript but my end result is I need two text boxes to stay hidden until a particular option is selected....I've cobbled together the...
10
by: oLE | last post by:
I would like to add some javascript to show/hide a certain row of a table. The first row of the table contain the hyperlink that calls the javascript the second row is the one i want to show/hide...
11
by: jimstruckster | last post by:
I have a table with 10 rows, I want all rows except for the first to be hidden when the page first opens up. If the user puts a value in a text box in the first row then I want the second row to...
10
by: Phillip Vong | last post by:
Newbie here on ASP.NET I want to hide a Table with and OnClick event. How do you do that? I'm not showing an ID when I create a table so how do I tell it to hide it? Is there a way to add an...
1
by: pamate | last post by:
hi, I want to show hide layers. I am able to show and hide layers but i am facing problem that, cant view the cursor in Mozilla,but i can type in input text box, its overlapping the layers. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.