Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FormView change flag

0 views
Skip to first unread message

DavidC

unread,
Mar 20, 2010, 1:27:01 PM3/20/10
to
Is there any way to know if a FormView (in edit mode) has had changes to
textbox controls since the last postback? Thanks.
--
David

Mr. Arnold

unread,
Mar 20, 2010, 6:02:30 PM3/20/10
to
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.

Andy O'Neill

unread,
Mar 21, 2010, 12:14:50 PM3/21/10
to

"DavidC" <dlc...@lifetimeinc.com> wrote in message
news:B2FF56C6-DB70-4255...@microsoft.com...

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.

0 new messages