asp.net mvc - Allowing commas in decimal values using Fluent Validation -
i using fluentvalidation validate data in mvc project. have decimal value entering on page, if comma included in validation fails it. example "12,000.00". how can fluentvalidation accept such values?
i got work creating custom binder decimal values. should work regardless of validation tool you're using. see link on how that:
http://haacked.com/archive/2011/03/19/fixing-binding-to-decimals.aspx/
Comments
Post a Comment