ASP.NET - Dynamic Controls... group of textboxes, etc
-
Need suggestions to design issue in asp.net. i am currently working on building a interface to expose a dynamic set of controls and options.. I want to make it so users can click add button and then a interface is created for that button in which the user can edit data, ok well the first part of this is easy.. The hard part is how do this in such a way in which I can expose the collection to the primary page and still handle post back for all of the dynamic controls. I tried a creating a dynamic control and adding it to a panel, and this worked but the problem with this Method was that I cant figure out way to loop through the created controls and actually save all the data when they are done entering it all on postback because I lose all the dynamic controls on post back with this design. I also know I can hook a event handler up, and expose the update... but then I would need to constantly update using AJAX.. and that seems like a overkill for such a simple task. Does any one have any other ideas on how to do this ?
=)