Punisher,
You have to re-add them again. If you don't, then how is it supposed to
know how to render it? ASP.NET page handlers don't retain state. Rather,
the state is retained through the viewstate, and the state is reconstructed
in the Page. Since the table control doesn't have any viewstate, it can't
retain whether or not you added controls.
You will have to re-add the controls again.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
(E-Mail Removed)
"Punisher" <(E-Mail Removed)> wrote in message
news:B08CD87C-2CBB-4054-907E-(E-Mail Removed)...
> I'm adding checkbox controls to a table dynamically when the form loads
> for
> the first time. When a postback occurs, the controls are not maintained in
> the table. How do I get them to retain without having re-add them again.