i have tried culture and format both on my model as well as editor template side but still no effect. Lots of script to include, lots of extra work arounds etc.It takes up quite some time; so I hoped some MVC application would be out there to demonstrate how to handle this.I have lost a day trying to get what is a simple date picker to work.Whenever I use the kendo version I just get blocked by this validation problem.
Introduction This article describes a simple approach to validating dates received as strings (e.g., 2/21/2008).When using Chrome I noticed that my datetime validation in MVC was failing. I had a model with the following Data Annotations on it: All of the above looks ok and works exactly as expected on Firefox and Internet explorer but Chrome was still failing on validation and would not let me submit the form.This validation was working perfectly in Internet Explorer and Firefox. I searched around and noticed that this appears to be a known issue with Chrome and how it interprets globalization settings.All that is done is to split the date string up into month, day, and year, and then to attempt to create a date time value from those parts.If the operation succeeds, the method returns true, if it fails (with an invalid date) the failure is trapped in a catch block which in turn returns a false.
It seems to be an issue with numeric (decimal) values only; dates are working fine.