html table doubt

T

thomson

Hi all,
I do have a table with a single row, and i do have 6 td
element inside that, In each td i have placed a Button server control.

based upon some settings i make some buttons visible false or true,
when i make some button visible= false, the td is still there blank, i
dont want to show the td itself

Regards

thomson
 
E

Eliyahu Goldin

For this you need to use server-side Table control
System.Web.UI.WebControls.Table, place the buttons inside TableCells and
control TableCell's Visible property.

Eliyahu
 
P

Parag

HI,
If you dont want to show the TD itself then make its style as "DISPLAY:none"
when you want to hide it with button. You can set the style either through
the code behind or even javascript will also do.
Regards
Parag
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top