This question is locked. New answers and comments are not allowed.
Hi
My project is using MVC 4
I have added a Gird and set it to load / edit via Ajax. My model for the grid has a date field shown below:
When I edit the grid (inline) using either IE or Firefox the date field works fine. My problem arises when I try to use Chrome to edit the field. As soon as I use the datepicker to select a date higher that the 12th of a month (e.g. April 19) I get an error saying "The field Start Date must be a date. "
Can you advise how this can be fixed?
Thanks
Mark
My project is using MVC 4
I have added a Gird and set it to load / edit via Ajax. My model for the grid has a date field shown below:
[DataType(DataType.Date)]
[DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}")]public DateTime StartDate { get; set; }When I edit the grid (inline) using either IE or Firefox the date field works fine. My problem arises when I try to use Chrome to edit the field. As soon as I use the datepicker to select a date higher that the 12th of a month (e.g. April 19) I get an error saying "The field Start Date must be a date. "
Can you advise how this can be fixed?
Thanks
Mark