In the book we created a new PasswordControl usercontrol because of the built in PasswordBox doesn't supports twoway databinding.
It seems Microsoft fixed this issue, so we can replace the PasswordControls to PasswordBox in SignUp and AccountSettings pages.
After replaced the PasswordControl boxes in the AccountSettings page, the PasswordBoxes now contain the saved items as filled circles.
We store the password and security answer secured with SHA1 algoritms wich converts the parameters to a far more lenghty string, so we have to change the StringLenght validation attribute in these properties to 255.
To get the confirm_password property validation, we have to use the Validator.ValidateAttribute method as described in this thread:
UserRegistration doesn't validate ConfirmPassword field
Because we are using the same dataform control in the signup and registration pages, the best solution to convert them to a user control, and insert them into both pages.
In the Usercontrol we have to raise an event in the Register button, and in the containing pages we have to treat this event appripriately, ie call the UpdateUser or CreateUser method respectively.
Thanks for read this
Gabor