Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

ASP.net VB.net gather value of text box text change

Hi. The following four lines are used to add a text box to my web page in ASP.net. When the user changes the text in this text box how do
I get the text value in the procedure HandleTextChanged()

 Dim tb As New TextBox
 tb.ID = oControlName
 AddHandler tb.TextChanged, AddressOf HandleTextChanged
 Me.Panel_Controls.Controls.Add(tb)

    Sub HandleTextChanged()

    End Sub
Avatar of Ramkisan Jagtap
Ramkisan Jagtap
Flag of Finland image

Dim tb As New TextBox
 tb.ID = oControlName
 tb.TextChanged += New EventHandler(HandleTextChanged)
 Me.Panel_Controls.Controls.Add(tb)

 Sub HandleTextChanged()

 End Sub

Open in new window

Avatar of Murray Brown

ASKER

I am specifically looking at how to get the value of the text inside the procedure

 Sub HandleTextChanged()
   'HERE
 End Sub
ASKER CERTIFIED SOLUTION
Avatar of Ramkisan Jagtap
Ramkisan Jagtap
Flag of Finland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks