Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Table Row Properties

Status
Not open for further replies.

stevensteven

Programmer
Jan 5, 2004
108
CA
Is there a property in the Web Control Table that is able to change the colors of alternating rows?

I can't seem to find it.

Steven
 
No.
Use TableRow or TableCell to acomplish that feature programmatically.
The TableRow and TableCell are controls of their own, and not properties of the Table control so
any programmatic addition or modification of table rows or cells will not persist across postbacks.
To persist any changes to the table, rows and cells must be reconstructed after each postback.
If there are substantial modifications then is recommended to use the DataGrid control.
-obislavu-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top