Having a hard time creating a DomainValidator

May 9, 2008 at 1:58 AM
Hello guys

I'm trying create a domain validator complete with messageTemplate but it's not working. I can't seem to add the message. Can somebody please tell me how it's done?

here's my code.


Public Class Client


Private _firstName As String


<DomainValidator("N", "D")> _
Public Property FirstName() As String
Get
Return _firstName
End Get
Set(ByVal value As String)
_firstName = value
End Set
End Property

End Class


Thank you.

Amunike.