ASP.NET
  Home arrow ASP.NET arrow Page 6 - Order-Related Modules for an ASP.NET AJAX ...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

Order-Related Modules for an ASP.NET AJAX Server-Centric Based Online Shopping Website
By: Xianzhong Zhu
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2007-12-26

    Table of Contents:
  • Order-Related Modules for an ASP.NET AJAX Server-Centric Based Online Shopping Website
  • Behind the Scenes
  • More Behind the Scenes Code
  • Web Handler
  • Buying Goods
  • Viewing the Shopping Cart
  • Page Initialization

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Order-Related Modules for an ASP.NET AJAX Server-Centric Based Online Shopping Website - Viewing the Shopping Cart


    (Page 6 of 7 )

    This is a must have for the customers that have already logged into the system. When they click the "My Shopping Cart" hyperlink on the left of the "product.aspx" page they will be redirected to another page, "cart.aspx" whose snapshot is shown in the following Figure 17.


    Figure 17-the design-time snapshot for viewing the shopping cart

    Here, you can click the "Product Name" related hyperlink to view the detailed information about the selected goods or delete it by click the "X" symbol (a hyperlink) at the rightmost of the row. Since this is a simple ASP.NET page we won't discuss it any more. But there is a flaw that needs to be pulled: here although in the "cart.aspx" page the customer can change the count of the specified article, but when he is navigated to another page, "order.aspx." to finally place the order, he still cannot change the number of that article. So, sorry for my not having provided this support; you have to click "Add to the shopping cart" button ntimes if you want to buy nproducts of the related one.

    Committing the order

    As hinted above, when the user clicks the button labeled "Submit this shopping and create the order" on the "cart.aspx" page he will be navigated to the  "order.aspx" page to finally commit the order. Now let's first take a look at one of the run-time snapshot as illustrated in Figure 18.


    Figure 18-the run-time snapshot for submitting the final order

    As seen from the figure, the GridView control at the top gives detailed info about each item for purchase. Neighboring it there is a line further totaling all the info above it. The large part at the middle of the page display is the contact information of the current customer. Clicking the "Previous" button will lead the user back to the "View shopping cart" page, while clicking the "Confirm the shopping info and commit the order" button means the user has confirmed all the above info and decided to submit the order to the seller.

    More ASP.NET Articles
    More By Xianzhong Zhu


     

    ASP.NET ARTICLES

    - Adding Content to a Static ASP.NET Website
    - Building a Static ASP.NET Website in a Basic...
    - Develop Your First ASP.NET Website with Visu...
    - Run ASP.NET in Windows XP Home with Cassini ...
    - How to Test a Web Application
    - How to Add Code and Validation Controls to a...
    - Working in Source and Split Views to Build a...
    - How to Build a Web Form for a One-Page Web A...
    - How to Develop a One-Page Web Application
    - An ASP.NET Web Application in Action
    - Developing ASP.NET Web Applications
    - An Introduction to ASP.NET Web Programming
    - Introduction to the ADO.NET Entity Framework...
    - Completing an In-Text Advertising System und...
    - Programming an In-Text Advertising System un...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek