I started to get a View error Field NextContactDate is not a Date when we changed from Internet explorer to Edge. I wanted to resolve this and stop it from happening. This was in a C# application originally written in 2012 and running on PCs where they had replaced WIN 7 PCS with WIN 10. The original View Code for the field in Edit.cshtml was:
<tr>
<td>@Html.LabelFor(model => model.sitestatus.StatusDate)</td>
<td>@Html.TextBoxFor(m => m.sitestatus.StatusDate, new { @Value = Model.sitestatus.StatusDate.ToString("dd/MM/yyyy"), id = "dp", style = "width:90px;" })
@Html.ValidationMessageFor(model => model.sitestatus.StatusDate)</td>
<td>The Date of the Status Change</td>
</tr>
How do we get this to work?