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.

RE: TextBox .text value will not update by Ravi

Ravi
Mon Jun 06 08:12:02 CDT 2005

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


"jarred.masterson@cheyennesd.net" wrote:

> 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.
>
>