I have a currency Model decorated with [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:c}")]
, it does work (The $ sign is displayed) for DisplayFor
, but not for TextBoxFor
in the View.
May be this is a wrong approach for this case and I'd rather go with some JQuery solution, but I am wondering if there's a "framework way"...
Thanks in advance.