Prev: Adding Controls To The Visual Studio 2008 Toolbox
Next: exam 70-536, is it about vb.net or c# or both?
From: DavidC on 20 Mar 2010 13:27 Is there any way to know if a FormView (in edit mode) has had changes to textbox controls since the last postback? Thanks. -- David
From: Mr. Arnold on 20 Mar 2010 18:02 DavidC wrote: > Is there any way to know if a FormView (in edit mode) has had changes to > textbox controls since the last postback? Thanks. 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.
From: Andy O'Neill on 21 Mar 2010 12:14
"DavidC" <dlchase(a)lifetimeinc.com> wrote in message news:B2FF56C6-DB70-4255-BA18-4F0A41909A73(a)microsoft.com... > Is there any way to know if a FormView (in edit mode) has had changes to > textbox controls since the last postback? Thanks. > -- > David 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. |