Hi, I'm still having quite a bit of trouble understanding how to add controls dynamically in asp.net.
In my project, I have a button that brings up a Modal Popup with a drop down list and two textboxes. The user then enters values into these fields and clicks a submit button. When that submit button is clicked, a Panel with the information entered by the user needs to be added to another Panel(container) on the Main Page. I have no problem generating the first panel, but all subsequent panels added just replace the first one instead of being appended as desired. I then need to gather all the values from the dynamically created textboxes.

Container Panel and Button that display Modal Popup:
<asp:Panel ID="pnlDetails" runat="server" Height="200px" HorizontalAlign="Center" ScrollBars="Vertical" Width="300px" BorderColor="#CCCCCC" BorderStyle="Ridge">
< ...

Go to the complete details ...