The User Interface Elements
Three main user interface elements were added to implement wish lists on MyGolfGear.NET. They include the two new pages AddToWishList.aspx and ViewWishList.aspx as well as additional functionality for the ProductSelection.aspx page.
In conjunction with the declarative user interface elements, three code behind classes were used as well. They are named the same as the .aspx pages with a .cs extension.
The AddToWishList.aspx.cs Code Behind Class
The first step in creating a wish list for a user is giving her the ability to add items to her own list. The AddToWishList pages provide this functionality. Listing 9.8 shows the AddToWish List.aspx.cs code behind page that ties the user interface to the data access class named ...
Get Building e-Commerce Sites with the .NET Framework now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.