I would use the CustomValitator control. That way you can use an if statement to determine whether valid input was entered. Something like this may suffice.
Code:
sub ValidateField(Sender As Object, Args As ServerValidateEventArgs)
If Args.Value = Nothing Then
ErrMessage.Style("color") = "Red"
Args.IsValid = False
Else
ErrMessage.Style("color") = "Blue"
Args.IsValid = True
End If
end sub
...
<asp:CustomValidator runat="server" id="custVal_Name"
ControlToValidate="Name"
OnServerValidate="ValidateName" />
<span id="ErrMessage" style="color:blue;" runat="server">*</span>
The following article explains how to use the control (if you do not already know how to): http://aspnet.4guysfromrolla.com/articles/073102-1.aspx
Also, you have posted in the incorrect forum. I will move this to the ASP.NET for you. 
Regards,
Andrew Buntine.
Bookmarks