I have two text boxes UserId and Email
If user enters UserId as Hello then i want the email text box to be filled as [email protected]
How do I achieve this?
Thanks in Advance
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Viv RPosted Dec 23, 2015, 9:35 AM
Jitendra KumarPosted Jan 29, 2015, 1:18 AM
Jitendra KumarPosted Jan 28, 2015, 8:10 AM
you do something wrong.
See attached page.
Vishwan MerchantPosted Jan 28, 2015, 7:26 AM
I have tried that code but the value is not getting stored in email id text box, instead the value displayed in text box is txtUser.Text@gmail.com
Jitendra KumarPosted Jan 28, 2015, 6:34 AM
try below code.
aspx code:
CS code:
protected void txtUser_TextChanged(object sender, EventArgs e)
{
txtEmail.Text = txtUser.Text + "@gmail.com";
}