I think I have uncovered a rather unusal problem with the date time picker control.
Entering a some perfectly valid datetimes results in a validation error. It indicates that the uk date time combination 27/03/2011 01:30 is not valid – but would be quite happy on the 26/03/2011 01:30 or 27/03/2011 02:30. I tested this outside my project on a standalone page and had the same result.
I am using the latest version of the MVC controls. v 2011.2.712.240
Thanks,
Michael
7 Answers, 1 is accepted
Unfortunately, I could not reproduce the depicted issue. Check this screencast which I have made in my attempt to replicate the problem. Let me know if I am missing something.
Georgi Krustev
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
Here’s a screencast of me reproducing the bug in your example solution: http://screencast.com/t/kBJFczgLivt0
The only change I have made is to change culture to en-GB in the web.config:
<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-GB" uiCulture="en-GB"/>
Thank you for the code snippet, unfortunately, I still cannot reproduce this issue locally.
Maybe I am missing something. I have attached the test project which I have created. Please check it and if it is possible modify it in order to replicate this problem.
Regards,
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
Here’s a screen shot of the code you posted not working (note that the “broken” time is 01:30):
http://i1092.photobucket.com/albums/i417/michaeldunbar/screen.png
This is reproducable on any machine in our office.
This definitely should be an issue related with the current culture settings of the OS. Could you please share with us complete information about your current culture settings and the OS version? If I am not able to reproduce this issue locally I will not be able to help further.
Georgi Krustev
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
http://i1092.photobucket.com/albums/i417/michaeldunbar/screen1.png
Thank you for the screenshot. I have setup my PC with the provided regional settings and used the test project, which I have attached in my previous, but I could not reproduce the issue. Check the screen-cast which I have made.
Unfortunately I am running out of ideas, where could be the problem. Without reproducing locally the issue I am afraid that I cannot help further.
Georgi Krustev
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!