Dynamic table information?

  • Thread starter Thread starter Peter Vermilye
  • Start date Start date
P

Peter Vermilye

I have an asp:table I am populating at pageload time. This works fine. On
the same page I have an asp:dropdownlist which I also populate. These two
controls are not related to one another (other than being on the same
page....I use the dropdownlist to dynamically change the contents of a
label).

When the dropdownlist is changed and generates the desired autopostback, the
table contents go away. I have set enableviewstate = true on the table, the
rows, and the cells....all to no avail. Why would the table not maintain
its data yet a dropdownlist will?

Thanks for any insight to this perplexing feature.

Peter
 
When the dropdownlist is changed and generates the desired
autopostback, the table contents go away. I have set enableviewstate
= true on the table, the rows, and the cells....all to no avail. Why
would the table not maintain its data yet a dropdownlist will?

Because the table is dynamically generated, while the drop down list is
probably just a data bind.
 
Back
Top