J
J. Johnson
Is it possible use viewstate to detect if a form's data has changed? I
want to prevent duplicate submission of data.
Example:
On_click event of Submit button:
1. Save viewstate to session.
2. Insert form data into SQL db.
3. Now suppose the user submits the same form (no changes to data). If
I compare the current viewstate to the original viewstate (stored in
session), will they be equal ?
How can I examine the viewstate during the on_click event?
Thanks...
want to prevent duplicate submission of data.
Example:
On_click event of Submit button:
1. Save viewstate to session.
2. Insert form data into SQL db.
3. Now suppose the user submits the same form (no changes to data). If
I compare the current viewstate to the original viewstate (stored in
session), will they be equal ?
How can I examine the viewstate during the on_click event?
Thanks...