James_fl
asked on
Hiding an HTML table row in run-time
Experts, I have the usual HTML table, and I want to hide/re-display some of its <tr> in the run-time. How do I do this?
Of course I'm asking how to do this in ASP.Net
Thanks for your time,
James
Of course I'm asking how to do this in ASP.Net
Thanks for your time,
James
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You did not state on what condition or on what user action you want the row display state to toggle.
ASKER
Points given. However, tusharashah gets most points since I tried the first solution and it didn't work unless I have the table as a server control.
ASKER
Thanks btw
Hi James
You wanted to toggle display state of some tr[s] but not all, that's why I offered you my suggestion. And I'm very sure it can work very well with your requirement. The only mistake, I guess, I didn't mention explicitly that you need to declare the two variable row1 and row2 in your class. Anyway, tushar is worth more points since you can get his solution working :o)
Cheers!
You wanted to toggle display state of some tr[s] but not all, that's why I offered you my suggestion. And I'm very sure it can work very well with your requirement. The only mistake, I guess, I didn't mention explicitly that you need to declare the two variable row1 and row2 in your class. Anyway, tushar is worth more points since you can get his solution working :o)
Cheers!
ASKER
cheers ihenry, i'll try doing that. Thank you for your help :D