In the ASP.net, in the form like Password Reset, when we compare the new password and confirm password, if both are not matched we can display the Error Message like,
ErrorMessage="*Password not matched" by using the Error Message property, the same way is it possible to display the Success Message like "Password Matched" after losing focus from the New password TextBox, in the UI part itself.