MystiqueOfLife
Programmer
Hi,
Any assistance is appreciated.
Background:
I'm working with GridViews and nested GridViews in an Ajax application that brings a user through a data entry wizard and does not submit or store info in a Database.. the user can continue to go through the application multiple times.
Gridview Objects
- buyer (multiple entries)
- order (multiple entries)
>> nested buyer (multiple entries)
Process
- buyers are added to a gridview
- user continues through the wizard to complete order
- order is stored in gridview
- buyers for the order are stored in a nested gridview
- user repeats process (loops through the application adding new orders)
- no database store
What is the best way to store the data (DataTable in Cache, Session, XML, etc.) when the gridviews get regenerated (on 2, 3, 4th times the user loops through app)?
- Buyer GridView gets updated manually by user
- order gridview gets updated manually by user
>> nested buyer gridview gets populated on RowDataBound dynamically from the information in the buyers table
Problem:
- oOrder.DataBind();
- oOrder_RowDataBind event fires
- nested buyer gridview get updated with the information inside the current buyer gridview, overwritting previous entires
- if I filter out everything except the last record, all other records are blank
How would you retain the nested buyer gridview information for each record in the order griview when a new record is added / DataBind() occurs on the order gridview?
Thanks, any insight or suggestion is appreciated.
Cheers!
Any assistance is appreciated.
Background:
I'm working with GridViews and nested GridViews in an Ajax application that brings a user through a data entry wizard and does not submit or store info in a Database.. the user can continue to go through the application multiple times.
Gridview Objects
- buyer (multiple entries)
- order (multiple entries)
>> nested buyer (multiple entries)
Process
- buyers are added to a gridview
- user continues through the wizard to complete order
- order is stored in gridview
- buyers for the order are stored in a nested gridview
- user repeats process (loops through the application adding new orders)
- no database store
What is the best way to store the data (DataTable in Cache, Session, XML, etc.) when the gridviews get regenerated (on 2, 3, 4th times the user loops through app)?
- Buyer GridView gets updated manually by user
- order gridview gets updated manually by user
>> nested buyer gridview gets populated on RowDataBound dynamically from the information in the buyers table
Problem:
- oOrder.DataBind();
- oOrder_RowDataBind event fires
- nested buyer gridview get updated with the information inside the current buyer gridview, overwritting previous entires
- if I filter out everything except the last record, all other records are blank
How would you retain the nested buyer gridview information for each record in the order griview when a new record is added / DataBind() occurs on the order gridview?
Thanks, any insight or suggestion is appreciated.
Cheers!