Hello
Found this code and implemented. Working good,
<script type="text/javascript">
//Javascript code
function showOkImageCompare() {
//Get the validation control.
var valCntl = $get("<%= CompareValidator1.ClientID%>");
//Call the ValidatorValidate javascript method to update the "isvalid" property.
ValidatorValidate(valCntl);
var img = $get("CompareOkImage");
//Validation is fine show the image.
if (valCntl.isvalid && valCntl != null)
img.style.visibility = "visible";
else
img.style.visibility = "hidden";
}
</script>
<asp:TextBox ID="Password2" TextMode="Password" runat="server" onBlur="showOkImageCompare()"></asp:TextBox>
<img style="visibility:hidden" id= ...
Go to the complete details ...