Folks!
I have an ASP.NET WebForm with 2 TextBoxes for user to enter, however I want update the TextBox2 with TextBox1 Text as the user enters in TextBox1 (without submitting back to the page) like a Windows Application. I tried the following code in vain, please help!
Adding a Button that submits back to the same page will update TextBox2 with TextBox1.Text. However, I don't want to submit.
Thanks.
I have an ASP.NET WebForm with 2 TextBoxes for user to enter, however I want update the TextBox2 with TextBox1 Text as the user enters in TextBox1 (without submitting back to the page) like a Windows Application. I tried the following code in vain, please help!
Code:
protected void TextBox1_TextChanged(object sender, EventArgs e) { TextBox2.Text = TextBox1.Text; }
Thanks.
Comment