Question : OnTextChanged TextBox Issue

Hi,
I am dynamically generating textboxes on a parent page. I want to see if the user changed any text on any of the textboxes and then fire an event that display a pop up ask user to save.
The big issue is that if I am using ontextchanged property of the textbox it gets fired each time the textbox are being dynamically loaded and thus mess up the flag value.
Any help will be appreciated.
Thanks

Answer : OnTextChanged TextBox Issue

There are different options to change
1. Client Side
     This can be done by using the event onKeyUp. Or you can also do the same by using setInterval, and checking prediodically.

2. Server side
    Keep the value in the session variable. On Post back check the check value of text box with session

For details check the articles
http://shahed-kazi.blogspot.com/2009/08/check-if-textbox-changed-using.html
http://forums.asp.net/t/1460964.aspx
http://stackoverflow.com/questions/1481152/jquery-how-to-detect-a-textboxs-content-has-changed

Hope this will help you :-)
Random Solutions  
 
programming4us programming4us