I am trying to populate a dropdown list from a database mapped with Linq-2-SQL, using ASP.NET MVC 2, and keep getting this error.
I am so confused because I am decla
I got same error today and my solution is to make model "valid".
In my case, after user submit by clicking "save", I got model state: invalid if user key-in "0", but model state will be valid if user key-in "0.0".
So I override "IsValid" method to return true even user key-in "0".
Hope it helps.