Is it possible to add instances of the same user control when an "add" button is clicked and maintain ViewState?
The user interface here is similar to the Gmail file-attachment process, where the user can click "attach another file" and another file upload box appears.
My page is surrounded by an UpdatePanel. I am able to get 1 control to load, but the button's click event fires after the Placeholder_Init method. I tried storing an integer in the ViewState that kept track of the number of user controls that should be rendered, but the Init method is also fired before the ViewState is restored.
Thanks!