Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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 November 1st, 2007, 03:15 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

It shouldn't be like that. Are you sure this code even gets called at all? Have you tried setting a breakpoint in the code that updates the amount?

If that doesn't help, can you post more of your code to demonstrate the problem?

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
 
Old November 1st, 2007, 03:37 AM
Authorized User
 
Join Date: Oct 2007
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Whohoe it works

Ill show you what ive changed for people that want to do the same

in ShoppingCartView.Aspx.vB
Change:
 
Quote:
quote:Partial Class ShoppingCartView
Quote:
  Inherits System.Web.UI.UserControl

  Private _isReadOnly As Boolean = False
    Dim priceTotal As Decimal = 0
  Dim quantityTotal As Integer = 0

  Public Event CartUpdated As EventHandler
Into:
 
Quote:
quote:Partial Class ShoppingCartView
Quote:
  Inherits System.Web.UI.UserControl

  Private _isReadOnly As Boolean = False
    Dim priceTotal As Decimal = 5
  Dim quantityTotal As Integer = 0

  Public Event CartUpdated As EventHandler
Imar thank you verry much for you help really usefull thoughts.

 
Old November 1st, 2007, 10:40 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You're welcome. Glad it's working....

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with blank fields in Shipping Address radrussell BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 November 23rd, 2009 11:57 AM
Why Shipping address is not validated? webeye BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 September 18th, 2008 10:31 AM
UPS shipping problem for Canada with osCommerce snowbydave1 PHP How-To 0 June 5th, 2008 05:14 AM
Adding SaleTax and Shipping goldenstate BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 November 16th, 2007 12:01 PM
Shipping Progress -ASP.Net Gibs_poovath General .NET 6 May 10th, 2004 01:04 PM





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