-
Saving a Dynamic table?
Hi all
I'm generating a table at runtime using values from a database. The table is full of checkboxes, dropdownlists etc.
This is all works fine, however on postback it would seem I have to recreate the table + controls which I dont want
Is there a way I can save the entire table object and controls maybe using the cache or sommat?
any help appreciated
-
Either way, you are still going to have to add it to the page's controls collection. Just move the code that gens the table outside of the IsPostBack() block.