I don't quite understand how MVC 2 is validating the datatypes, or how I could inject my own error-string/language.
Given a date-field in a View-Model:
public DateTime Appointment { get; set; }
I would get the following error if I fill in an invalid date into the form: The value '01.03.20111' is not valid for Appointment.
I certainly know about DataAnnotations (DisplayName, Required etc.), but I don't know how the datatype-validation happens and where/how I could hook in?
Thx for any tipps sl3dg3