A very weird problem with texbox control in C# .net
- by Kazoom
Well i know textbox is a very simple user control, perhaps the first input control ever made.
I have been facing a very frustrating problem with this simple control.
I programatically add a textbox in my user control. From ui i am able to edit it like a normal textbox. however, i am not able to read the user inputed value in the program. my program all the time sees the old value with which my text box was initialized.
i textchange event getting triggered but the value never gets updated.
This seemingly looks to be some innocuous bug in the code, but the program is very simple and it does not seem to be having any bug.
Any guidelines on this issue?