I populate textboxes on a user control from a database. my problem is that the textboxes retain their old info after a postback. I use the page_load event to populate the fields. Strange thing is that a response.write of the textbox in the page_load routine shows the textbox as having the correct data but when displayed it shows the previous data. To add to confusion if i set the textbox to enabled = false after the update the correct data shows.
I've tried with viewstate and enabled and disabled but nothing.
Thanks in advance for any replies
I've tried with viewstate and enabled and disabled but nothing.
Thanks in advance for any replies