0


I have a question about (Clientside?) validation of datafields.

My model has a decimal property

public decimal CalculatedWork { get; set; }

If I try to insert a decimal value like 20,00 I get an error "Value has to be numeric". If I insert 20, everything is fine and when refreshing, 20,00 is shown.

How can I get this work? I tried This DataFormatString and this DecimalModelBinder but nothing works.

The DecimalModelBinder isn't even hit. What can I do or where is my fault?

Telefisch
  • 305
  • 1
  • 19

0 Answers0