On button click event you can write:
Dim myLabel = New Label()
myLabel.Text = "Sample Label"
Form1.Controls.Add(myLabel)
Dim myTextBox = New TextBox()
myTextBox.ID = "TextBox1"
myTextBox.Text = "Hi"
Form1.Controls.Add(myTextBox)
"Chris" <Ch***@discussions.microsoft.comwrote in message news:EC**********************************@microsof t.com...
hi,
I need to create a website in asp.net. I want to put a button on the site. I
want to do something like that, after clicking the button a new textbox
should appear on the site. When someone has clicked again, there will be a
new texbox more. And so on.
Is it possible? How to do that?