Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 21st, 2006, 02:23 PM
j2 j2 is offline
Registered User
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Shopping Cart quantity update problem

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

 
Old August 21st, 2006, 02:39 PM
j2 j2 is offline
Registered User
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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...






Similar Threads
Thread Thread Starter Forum Replies Last Post
Shopping cart doesn't update repero BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 14 June 4th, 2012 07:47 AM
shopping cart problem...! preetham.sarojavenkatesh Visual Studio 2005 1 November 13th, 2007 12:29 PM
having problem with shopping cart radonfile Classic ASP Databases 0 September 26th, 2003 12:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.