In my ASP.net MVC app I have a view that looks like this:
... Due Date <%=Html.TextBox(\"due\")%> ...
I am usi
This worked for me: mvc 2
<%: Html.TextBoxFor(m => m.myDate, new { @value = Model.myDate.ToShortDateString()}) %>
Simple and sweet!
A comment of user82646, thought I'd make it more visible.