User Information Management for an ASP.NET AJAX Server-Centric Based Online Shopping Website - Modifying Personal Info
(Page 2 of 4 )
Modifying Personal Info
This part is done through the "EditUserPwd.aspx" which is invoked by the "UserManage.aspx" page. The design-time snapshot of this page is shown in Figure 25 below.
Figure 25—the design-time snapshot for the users to edit private info
/Building_ASP.NET_AJAX_Server-Centric_Shopping_Website(7)_html_24474d9d.png)
As you’ve seen from the above figure, this page is still pretty simple, mainly with several textboxes for the user to edit his private information. However, to obtain a better user experience we can fully use the TextBoxWatermarkExtender, PopupControlExtender, ValidatorCalloutExtender, or even UpdatePanelto achieve this kind of effect. Here, for simplicity, we have only bound four ValidatorCalloutExtender controls to four Validators (i.e. RegularExpressionValidator1, RegularExpressionValidator2, RegularExpressionValidator3,RequiredFieldValidator4) that are in turn bound to the four TextBox controls Email, Phone, Mobile, and Email respectively to give the user more intuitive hints when he inputs invalid data into the related fields.
Next: Page Initialization >>
More ASP.NET Articles
More By Xianzhong Zhu