D DavidC Mar 20, 2010 #1 Is there any way to know if a FormView (in edit mode) has had changes to textbox controls since the last postback? Thanks.
Is there any way to know if a FormView (in edit mode) has had changes to textbox controls since the last postback? Thanks.
M Mr. Arnold Mar 20, 2010 #2 DavidC said: Is there any way to know if a FormView (in edit mode) has had changes to textbox controls since the last postback? Thanks. Click to expand... I guess you can save the data to hidden fields and make a check that way, what it was previously and what it currently in the text of the control.
DavidC said: Is there any way to know if a FormView (in edit mode) has had changes to textbox controls since the last postback? Thanks. Click to expand... I guess you can save the data to hidden fields and make a check that way, what it was previously and what it currently in the text of the control.
A Andy O'Neill Mar 21, 2010 #3 DavidC said: Is there any way to know if a FormView (in edit mode) has had changes to textbox controls since the last postback? Thanks. Click to expand... You have two dictionaries available, oldvalues and newvalues. You can iterate through and compare them. There's even example code on msdn. Google on formview oldvalues.
DavidC said: Is there any way to know if a FormView (in edit mode) has had changes to textbox controls since the last postback? Thanks. Click to expand... You have two dictionaries available, oldvalues and newvalues. You can iterate through and compare them. There's even example code on msdn. Google on formview oldvalues.