K
KJ
Is there anyway to get the value of a dynamically added textbox that
was added after OnInit in Page_Load on Postback?
Page_Load
Dim tb As New Textbox
page.controls.add(tb)
tb.text = "ASP.NET"
End Sub
But1_Click
label1.text = tb.text
End Sub
My problem is tb.text is blank ("")
Is there anyway to save the value between postback?
Thanks
was added after OnInit in Page_Load on Postback?
Page_Load
Dim tb As New Textbox
page.controls.add(tb)
tb.text = "ASP.NET"
End Sub
But1_Click
label1.text = tb.text
End Sub
My problem is tb.text is blank ("")
Is there anyway to save the value between postback?
Thanks