This is my Model class
public class Model
{
[DataType(DataType.DateTime, ErrorMessage = "My error message")]
public DateTime Day { get; set; }
}
When I try to input incorrect value for example "notdate" i got the error "The value 'notdate' is not valid for Day." instead of my specified ErrorMessage "My error message".
I use ASP.NET MVC 3.0 beta. This is a bug?