P
Prabhu Ram Prasath
Dear Friend,
Does anyone could answer this simple problem!!!
I have a textbox, submit button and a panel (all webserver
controls) in a web page.
After entering some text in the textbox and pressing the
submit button, it will add the text into the panel as a
Hyperlink.
The code in the command button is
newCtrl = New WebControls.HyperLink
newCtrl.Text = textbox1.Text & "<BR>"
newCtrl.ID = textbox1.Text
panel1.Controls.Add(newCtrl)
The procedure is running well, but the next time I press
the button, the old hyperlink gets destroyed and only the
new hyperlink gets displayed in the panel.
Any Idea!!!
Regards,
Prabhu Ram Prasath
Does anyone could answer this simple problem!!!
I have a textbox, submit button and a panel (all webserver
controls) in a web page.
After entering some text in the textbox and pressing the
submit button, it will add the text into the panel as a
Hyperlink.
The code in the command button is
newCtrl = New WebControls.HyperLink
newCtrl.Text = textbox1.Text & "<BR>"
newCtrl.ID = textbox1.Text
panel1.Controls.Add(newCtrl)
The procedure is running well, but the next time I press
the button, the old hyperlink gets destroyed and only the
new hyperlink gets displayed in the panel.
Any Idea!!!
Regards,
Prabhu Ram Prasath