srkirkland/DataAnnotationsExtensions — Issue #23: Numeric ErrorMessage always shows default error message
Author: dotnetshadow
Created: 2011-10-27 02:50:54+00:00
State: open

Hi there,

I noticed with the numeric attribute if I try and put a custom error message it will always show the default error message

[Numeric(ErrorMessage="Custom error message should be shown")]
public double score { get; set; }

instead it displays:

The field score must be a number.

Regards DotnetShadow