The new Asp.net mvc 2.0 input validation works like a charm, except for decimal seperators when it comes to jquery.validate. When I use the Microsoft MVC ajax libs it works fine. The comma is the decimal seperator server side as well as client side.
<script src="/Scripts/MicrosoftAjax.js" type="text/javascript" ></script>
<script src="/Scripts/MicrosoftMvcAjax.js" type="text/javascript" ></script>
<script src="/Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>
When I use this (jquery is loaded in the master view), I have to use a dot on the client side. But then the model is invalid and it gets returned back to the view, creating an interesting loop.
<script src="/Scripts/jquery.validate.js" type="text/javascript"></script>
<script src="/Scripts/MicrosoftMvcJqueryValidation.js" type="text/javascript"></script>
I'd rather use jquery for all my javascript needs, is there any way to make jquery.validate use the comma, and not the dot ? I have been googling and reading the docs, but weird enough I couldn't find much on this issue, which you would think would be a common one.