Author: lotusleaf | Posted on: 8/21/2009 2:48:55 PM | Views : 343

 I have a page where user can change his password to a new one.  So the page has a textbox for Existing Password.  Another text box for New Password.  And another textbox for Confirm New Password.  For certain (the way we do coding ) reason I cannot use the compare validator to compare the new password and confirm new password.
Also the whole thing is written inside a <asp:ChangePassword> control.  So in the code behind I want to check the new password and confirm new password to see if they are same when the user clicks the linkbutton.  If they are not, then I want to display an error message and let the user type the passwords again. 
But because I am using <asp:changepassword>, do I have to write any special method?  How?
Regarding checking Existing Password, I am using the "OnChangePasswordError" functionality like below:
Go to the complete details ...