How to get modified value from dynamically created textbox
-
Hi, All :doh: I have a critical problem. I have created a table which is completely dynamic having some textboxs, checkboxs, dropdowns etc. It contains data from database. I stuck when I click on Edit and then Update. The Update button's event handler is not able to access modified data rather it is accessing the old data. I am using c# and asp.net 2.0. I am using user control which contain this table. Is there any way to retrieve modified data from the textbox. Plz Help me out.. Thanks Sapan If u don't succeed then try and try again, because man are born to succeed not to fail.
-
Hi, All :doh: I have a critical problem. I have created a table which is completely dynamic having some textboxs, checkboxs, dropdowns etc. It contains data from database. I stuck when I click on Edit and then Update. The Update button's event handler is not able to access modified data rather it is accessing the old data. I am using c# and asp.net 2.0. I am using user control which contain this table. Is there any way to retrieve modified data from the textbox. Plz Help me out.. Thanks Sapan If u don't succeed then try and try again, because man are born to succeed not to fail.
first you must save your changed data to session or some other way in page. Then in update method use that value so you will get updated value.
Viral YahooID : just_viral My Site : www.theseoworld.info