I want to create a form field using asp.net which the user can append new textbox controls. Initially, there will be only one textbox and as the user will click on append textbox button new textbox controls will be generated and the previous textboxs will remain. Any suggestions? (apart an input which the user can give the number of textboxes and a submit button that will generate the provided number)
Edit: I'm working with asp.net and I use visualstudio
In order to ease the understanding I'll provide an example:
In the usercontrol
<asp:TextBox Text="Item Name" ID="ItemName" runat="server"></asp:TextBox>
<asp:TextBox Text="Item Desct" ID="Description1" runat="server"></asp:TextBox>
<asp:Button OnClick="addDesc_click" ID="addDesc" runat="server" Text="Add More Descriptions" />
So basically, whenever the user clicks the button I want to create more textboxes in code behind. The new textboxes will be generated with a similar ID of the first TextBox e.g Description2, Description3 etc...