Try tagging it with:
[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:MM/dd/yyyy}")]
More Related Contents:
- Opposite of [compare(” “)] data annotation in .net?
- Loop through enum result property
- How do you create a dropdownlist from an enum in ASP.NET MVC?
- How to return a file (FileContentResult) in ASP.NET WebAPI
- ASP.NET MVC 5 group of radio buttons
- Questions about using Ninject
- Passing data between different controller action methods
- Is Task.Run considered bad practice in an ASP .NET MVC Web Application?
- Remote Validation for LIST of MODELs
- Passing data to Master Page in ASP.NET MVC
- How to enable cross origin requests in ASP.NET MVC [duplicate]
- Do I need a Global.asax.cs file at all if I’m using an OWIN Startup.cs class and move all configuration there?
- Is it secure to store passwords in cookies?
- How do I display the DisplayAttribute.Description attribute value?
- ASP.Net MVC route to catch all *.aspx requests
- Visual Studio – Resx File default ‘internal’ to ‘public’
- ASP.NET MVC – How to show unauthorized error on login page?
- How to make Check Box List in ASP.Net MVC
- I’m getting the “missing a using directive or assembly reference” and no clue what’s going wrong
- MvcSiteMap generating a Menu without messing the breadcumbs
- how to get mac address of client that browse web site by asp.net mvc c#
- The model item passed into the dictionary is of type ‘mvc.Models.ModelA’ but this dictionary requires a model item of type ‘mvc.Models.ModelB‘
- Get UserID of logged-in user in Asp.Net MVC 5
- How to pass parameters to a custom ActionFilter in ASP.NET MVC 2?
- Can I use ASP.NET MVC together with regular ASP.NET Web forms
- WCF Service or Web API [closed]
- Is the DataTypeAttribute validation working in MVC2?
- Unable to resolve service for type ‘Microsoft.AspNetCore.Identity.UserManager` while attempting to activate ‘AuthController’
- Display string as html in asp.net mvc view
- How do I maintain ModelState errors when using RedirectToAction?