ok the First thing you need to write a function that will check the validity of the old password.
First write a function that will check the old password from the database
onblur or when the textbox loses focus, it should check for that old password validity and if its incorrect then make the
page.isvalid to false.
If the password is valid then check if the new password is not an empty string and update the Password field based on the username.
if you have code problem say so i will contruct an example, but its good if you try something first and when you fail i will continue.
Thank you for posting at Dotnetfunda
Vuyiswa Maseko
Thank you for posting at Dotnetfunda
[Administrator]
Suneel161, if this helps please login to Mark As Answer. | Alert Moderator