|
Subject:
|
Shopping Cart quantity update problem
|
|
Posted By:
|
j2
|
Post Date:
|
8/21/2006 2:23:09 PM
|
If a user updates the quantity on the Shopping Cart page (step 1 of 3 of the Shopping Cart wizard), the new value is not reflected on the Confirm Order page (step 3 of 3).
For example, if a user originally orders 1 item, proceeds to the shopping cart, updates the quantity from 1 to 7 on Step 1 (of the wizard), and then proceeds to the Confirm Order page (Step 3), the Confirm Order page still shows a quantity of 1. The totals are correct, though.
This same issue exists in the Shopping Cart user control.
Any help would be appreciated.
Thanks
|
|
Reply By:
|
j2
|
Reply Date:
|
8/21/2006 2:39:32 PM
|
I figured out that the <asp:Repeater> control, repOrderItems, needed to be rebound in the UpdateTotals() method.
ShoppingCart.aspx.cs:
protected void UpdateTotals() { ... gvwOrderItems.DataBind(); repOrderItems.DataBind(); }
Still working on figuring out the issue with the Shopping Cart user control...
|