This question is locked. New answers and comments are not allowed.
Hi
Im trying to edit a decimal number in the mvc editor grid.
In my model it is defined as:
public decimal Percent { get; set; }
It should have the format 0,00
I have set the .Format("{0:F2}") on the column which works fine, but when I try to edit the field it automatically removes the “,00” in the text field. When I try to type “,” in the text field it gives an error and says in must be a number.
How can I get the edit textfield to display the 0,00 format and allow “,”?