I’m working in ASP.NET and have a text box in which I enter First Name of the user. There is another text box in which I enter last name of the user. There is another text box in which I want to create user name based on the first name and the last name such that:
For example
First Name = Mike
Last Name = Casey
User Name = MCASEY
I want to do this functionality when user entered first name and last name and then click anywhere on the page. I want to do this without page refresh. I am using update panel in my page as well.
Can anyone explain how to do this ?
Thanks in advance.
you’ll need to use javascript if you dont’ want a page refresh. something like
assuming you’re using jquery, and assuming your elements have assigned id’s that I listed.