Wednesday, March 28, 2012

Why lost the text input by the user?

Hi!
I have a DataList that bind in the first page load (not postback). The
datalist has two textbox that can be edited by the user. When I press the
Save button (ImageButton) and I watch the textboxs they are with the original
value.
- I don't rebind the DataList.
- The textbox has a custom binding on ItemDataBound event.

How to get the text input by the user??

Help! =(

ThanksOn Sep 12, 9:32 pm, Kevin <Ke...@.discussions.microsoft.comwrote:

Quote:

Originally Posted by

Hi!
I have a DataList that bind in the first page load (not postback). The
datalist has two textbox that can be edited by the user. When I press the
Save button (ImageButton) and I watch the textboxs they are with the original
value.
- I don't rebind the DataList.


if you don't rebind it, then it should work, I think.

Can you give an example of your code?

0 comments:

Post a Comment