Completing an ASP.NET AJAX Server-Centric Based Online Shopping Website - Customer/Supplier Functionality Module
(Page 4 of 5 )
Customer Functionality Module
This module is finished by using the "MyOperationUC.ascx" UserControl which is mainly used to show the customer operation links, such as "My Shopping Cart," "My Order," "My Personal Info," "Modify Password" and "Leave Word." Figure 42 gives its design-time snapshot.
Figure 42—the design-time snapshot for the UserControl ‘MyOperationUC.ascx’
/Building_ASP.NET_AJAX_Server-Centric_Shopping_Website(11)_html_m4e23164.png)
Since this module is pretty easy, let’s only look at its related HTML code:
<a href="../Desktop/Cart.aspx">My Shopping Cart</a>
<a href="../Desktop/Order.aspx">My Order</a>
<a href="../Admin/User/UserInfo.aspx" target="_blank">My Personal Info</a>
<a href="../Admin/User/EditUserPwd.aspx">Modify Password</a>
<a href="../Desktop/leaveword.aspx">Leave Word</a>
Supplier Functionality Module
This module is handled by using the "CustomerOperationUC.ascx" UserControl, which is mainly used to show the supplier operation links, such as "Product Management," "Category Management," "My Personal Information" and "Modify Password." Figure 43 gives its design-time snapshot.
Figure 43—the design-time snapshot for the UserControl ‘CustomerOperationUC.ascx’
/Building_ASP.NET_AJAX_Server-Centric_Shopping_Website(11)_html_da40e5e.png)
This module is still pretty easy. Here is its related HTML code:
<a href="../Admin/Product/ProductMain.aspx">Product Management</a>
<a href="../Admin/Product/Category.aspx">Category Management</a>
<a href="../Admin/User/UserInfo.aspx" target="_blank">My Personal Info</a>
<a href="../Admin/User/EditUserPwd.aspx">Modify Password</a>
For the last super administrator module (AdminOperationUC.ascx), we choose only to give its design-time snapshot as shown in Figure 44 since its inner logic it is pretty easy and similar to the two above.
Figure 44—the design-time snapshot for UserControl ‘AdminOperationUC.ascx’
/Building_ASP.NET_AJAX_Server-Centric_Shopping_Website(11)_html_237111a1.png)
Next: Loading Foreground Functionality Modules >>
More ASP.NET Articles
More By Xianzhong Zhu