MVC3 number validation and localization

Josh_Blade
Josh_Blade used Ask the Experts™
on
In my MVC3 app, the user can choose their currency. When they do this and it changes to a currency that uses commas and decimals opposite to the US method (commas for decimal points and dots for number separators).

I'm using the built in @Html.ValidationMessageFor() helpers and it doesn't like the non US format for numbers.

If an input has 1,00 instead of 1.00 it complains that the input must be a number. Googling around yesterday, I read you have to download and install the .NET 4 full language pack, but that didn't help.

Is there any easy way to use the built in validation helpers along with localization, or do I need to switch to jquery validation?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016
Commented:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial