Hi!<BR>How can dynamically add controls (like a textbox) to a page at runtime? <BR><BR>Basically, when a user types in a number (eg 6) I want to loop out 6 textboxes... how can this be done with ASP.neT?<BR>Basically (and I don't have dotNET here with me) you'd do something like this. On your WebForm place a panel...<BR><BR><aspanel id="pnlControls" runat="Server" /><BR><BR>... and, of course, your TextBox...<BR><BR><asp:TextBox id="txtNumber" runat="Server" /><BR><BR>... now, on the Postback, grab the number that the user has entered...<BR><BR>Dim intCount As Integer = 0<BR><BR>' You might want to Try...Catch this in case it's not<BR>' numeric<BR>Dim intFoo As Integer = Int32.Parse(txtNumber.Text)<BR><BR><BR>For intCount = 0 To intFoo<BR> Dim txtNew as New TextBox<BR> txtNew.ID = "NewTextBoxNumber_" & intCount<BR> <BR> pnlControls.Controls.Add(txtNew)<BR> pnlControls.Controls.Add(New LiteralControl("<BR>"))<BR>Next<BR><BR>So, you can see here, that the Panel is used as a placeholder, so that you can dynamically add Controls to *it's* Controls collection.<BR><BR><BR>Hope this helps.That done the trick... cheers.