Validation Server Control
 
Error Notification using Image or Sound
 
We can use images or sounds instead of text messages to notify an error message. For doing so, the ErrorMessage property of that validation should be set.
 
Sample code for using an image or sound to represent the error.
 
<asp:RequiredFieldValidator ID=? RequiredFieldValidator1? Runat=?server?
ErrorMessage=’<img src=?myerror.jpeg?>’
ControlToValidate=?mytextbox? EnableClientScript=?false?>
</asp:RequiredFieldValidator>