The default model binder is returning errors for properties that are of type double when my application is being used in countries that use different number formatting for d
Take a look in this article but, for short, if you could try this:
public ActionResult Create(FormCollection values)
{
Recipe recipe = new Recipe();
recipe.Name = values["Name"];
// ...
return View();
}
...or this, in case you have a Model:
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Create(Recipe newRecipe)
{
// ...
return View();
}
The article has complete references and other ways of doing this. I use these 2 and they were enough for me up to now.