I just can't figure this one out - Help please.
I have 2 web forms textboxes on a web form called Text1 and Text2. On Page_Load I do this:
Code:
Text1.Text = "Tom"
Text2.Text = "Bill"
I also have a web forms button called button1. On button1_click I have this code:
Code:
Response.Write (Text1.Text)
If I run the app, backspace "Tom" out of textbox1 and in its place type "hello" tab out and click button1 I am getting "Tom" written back to the screen instead of "hello".
How is it that the visual text of Text1 changes yet the value seems to remain constant and how do I address this issue?
Thanks a bunch