TextBox .text value will not update

  • Thread starter Thread starter jarred.masterson
  • Start date Start date
J

jarred.masterson

I have several TextBoxs in a datalist control and am allowing a user to
make changes to them. Everything works fine but when I execue the
update command for the datalist and use the FindControl method to read
the value of the text box the changes made by the user are lost and the
value is what was originally placed there by the databind function.

I have seen samples for what I am attempting and I am using it exactly
as they are. Has anyone else had this problem? I am pulling out my
hair with this because it's taking me so long.
 
Can't visualize what might be the problem.
Check if you are binding the values on PostBack
i.e if PostBack == true then do not bind
 
Back
Top