Nov 22, 2012, 3:23 PM
MVC Form HtmlHelper DateTime
I am having trouble with the DateFieldFor HtmlHelper. It doesn't seem to allow me to model bind to a nullable DateTime. At least it causes an error whenever the field is null.
@model DateTime
Html.X().DateFieldFor(m=>m
Thanks,
Last edited by geoffrey.mcgill; Nov 23, 2012 at 7:34 PM.
Reason: please use [CODE] tags