I am using asp.net mvc 3 and I keep getting this error and I don\'t understand it since I am not using a template.
I have this in my partial view
@mo
Instead of adding format in model Use @Value Annotations as below
@Html.TextBoxFor(x => x.Due new {@Value=Model.Due.ToShortDateString()})