Click here to Skip to main content
14,865,088 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi,

I m developing c# window application in visual studio 2010
I m creating 2 textboxes dynamically on page load event.
I want that, when i enter value in one textbox, double of that value is automatcally display in another textbox.

i m using textchange eventhandler for First textbox.But i m cofused how i show value in another textbox.

Can anyone help me please?

Thanks In Advance!
Posted

1 solution

What's confusing in it?

1. Create tetbox1 & textbox2 dynamically
2. Attach text change event handler to textbox1
3. Now, whenever textbox1 text will get changed, textchange event handler attached would get raised.
4. In this change event, get the text of the textbox1 and use/change it to show as per need in textbox2

Try!
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900