Is there any way to get UpdateModel or TryUpdateModel to parse a money or currency formatted value such as $1,200.00 into a decimal without blowing chunks?
Use a custom model binder.
An example of using one to parse a decimals differently
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With