If I am adding rows to a table I have created (using the designer) in my code-behind, I am doing a Table.Rows.Coun t after the onClick event and even though the table definition properties are set such that EnableViewstate =true, the table rows.count is zero on it's return to the server. I thought that if viewstate was enabled for a control that I would be able to access the rows of the control (in this case an asp: table) on postback.
Basic Question about asp:Table
Collapse
X
Comment