I am newb to c# and I am working on an example. The challenge is to dynamically set the text of the label using the textboxes' text.
- There are 3 textboxes and a label. All are asp controls.
- The text should be displayed in the label as you type in the textbox and should hold the information of that particular text box when the user goes to another textbox.
- The user enters another string in the 2nd textbox which should add up to the label.
- If the user deletes the text of a textbox that should again remove the text from the label.
Please let me know how to do this with code or an idea.
I found something on internet like label.innerHTML can do this but I am not able to do it.
Thanks in advance!