Information Management for an ASP.NET AJAX Server-Centric Based Online Shopping Website (Page 1 of 4 )
In this tenth part of an eleven-part series on building your own online shopping website, we'll learn about the information center. The information center in the shopping city sample is mainly composed of three modules: news management, notification management, and leaving words management, which are all placed under the "admin/Information" folder of the website. Let’s delve into them, starting with the news management.
A
downloadable .rar file is available for this article.
News Management
This part of functionality is accomplished through the "NewsManage.aspx" page. Its total functionalities can be listed as follows:
Show the news in a table form.
Provide links to add a piece of news.
Provide links to edit a piece of news.
Delete news.
View news.
Let's take a look at the run-time snapshot of the "NewsManage.aspx" page, as is shown in Figure 35.
Figure 35-the run-time snapshot for managing news
/Building_ASP.NET_AJAX_Server-Centric_Shopping_Website(10)_html_m6af60304.png)
As you can see from Figure 35, by clicking the "Title" hyperlinks the user can view the detailed news information, while by clicking "Edit" or "X" in the "operation" column he can edit (the "EditNews.aspx" page in Figure 36) or delete the related news.
Figure 36-the design-time snapshot for editing news
/Building_ASP.NET_AJAX_Server-Centric_Shopping_Website(10)_html_7f44175.png)
At last, when the user clicks the "Add new news" button in Figure 35 he will be navigated to another simple page, "AddNews.aspx," to add a new piece of news.
For now, we have ajaxified the news-related pages, partly due to these pages being simple and partly due to the time limit. For the details in this respect, please study the source code in the downloadable source code accompanying this article.
Next comes the notification-related topic.
Next: Notification Management >>
More ASP.NET Articles
More By Xianzhong Zhu