theunknownknight
MIS
I have a page that has a textbox and a button (both web controls run at the server). I want the user to enter in a number in the textbox.
Based upon that number, I want the appropriate number of textboxes to appear for the user to enter in information.
In other words, I am trying to programmatically add textboxes (webcontrols) to my web page when a button is pressed. The number of textboxes added could be whatever number is entered into the initial textbox (In theory it could be infinite). How do I add at webcontrols at the bottom of the existing web page from code?
I am leaning toward response.write but I believe that would only create html controls, not web controls. Any Advice?
Thanks.
Based upon that number, I want the appropriate number of textboxes to appear for the user to enter in information.
In other words, I am trying to programmatically add textboxes (webcontrols) to my web page when a button is pressed. The number of textboxes added could be whatever number is entered into the initial textbox (In theory it could be infinite). How do I add at webcontrols at the bottom of the existing web page from code?
I am leaning toward response.write but I believe that would only create html controls, not web controls. Any Advice?
Thanks.