A
Andy Sutorius
Hi,
Setup/History: Code-behind = C#. I have created an html table with textboxes
in each cell dynamically with asp.net. The number of rows depends on what
the datareader brings back. The columns (6 of them) are static. After the
table is built I take a snapshot of the names of the textboxes and the
values inside them (before the values of the textboxes are altered by
humans). I need to use this snapshot/data after the webpage has been
submitted. I have a sorted list successfully recursing the controls on the
page and storing the textbox id's and values before the submit button is
clicked. When the button is clicked I lose what was stored in the sorted
list.
Objective: I need to get that snapshot (sorted list, hashtable, whatever
works) of data from pre submit to post submit so that I can compare the
results of pre submit and post submit textbox values.
Constraint: No cookies. No session vars.
My ultimate question: What can I do to get the names of the dynamically
generated textboxes and their pre submit values to the post submit side?
I know this sounds confusing...sorry.
Thanks,
Andy
Setup/History: Code-behind = C#. I have created an html table with textboxes
in each cell dynamically with asp.net. The number of rows depends on what
the datareader brings back. The columns (6 of them) are static. After the
table is built I take a snapshot of the names of the textboxes and the
values inside them (before the values of the textboxes are altered by
humans). I need to use this snapshot/data after the webpage has been
submitted. I have a sorted list successfully recursing the controls on the
page and storing the textbox id's and values before the submit button is
clicked. When the button is clicked I lose what was stored in the sorted
list.
Objective: I need to get that snapshot (sorted list, hashtable, whatever
works) of data from pre submit to post submit so that I can compare the
results of pre submit and post submit textbox values.
Constraint: No cookies. No session vars.
My ultimate question: What can I do to get the names of the dynamically
generated textboxes and their pre submit values to the post submit side?
I know this sounds confusing...sorry.
Thanks,
Andy