This is a migrated thread and some comments may be shown as answers.

Date time validation error

7 Answers 81 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael Dunbar
Top achievements
Rank 2
Michael Dunbar asked on 14 Jul 2011, 02:50 PM
Hello,

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

Sort by
0
Georgi Krustev
Telerik team
answered on 15 Jul 2011, 07:57 AM
Hello Michael,

 
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.

Regards,
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!

0
Michael Dunbar
Top achievements
Rank 2
answered on 19 Jul 2011, 12:02 PM
Hi there,

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"/>

0
Georgi Krustev
Telerik team
answered on 21 Jul 2011, 09:09 AM
Hello Michael,

 
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,

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!

0
Michael Dunbar
Top achievements
Rank 2
answered on 22 Jul 2011, 09:32 AM

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.

0
Georgi Krustev
Telerik team
answered on 22 Jul 2011, 10:04 AM
Hello Michael,

 
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. 

Regards,
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!

0
Michael Dunbar
Top achievements
Rank 2
answered on 22 Jul 2011, 11:37 AM
We use Windows 7. Here are the Region and Language settings from my computer.

http://i1092.photobucket.com/albums/i417/michaeldunbar/screen1.png
0
Georgi Krustev
Telerik team
answered on 22 Jul 2011, 12:32 PM
Hello Michael,

 
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.

Kind regards,
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!

Tags
Date/Time Pickers
Asked by
Michael Dunbar
Top achievements
Rank 2
Answers by
Georgi Krustev
Telerik team
Michael Dunbar
Top achievements
Rank 2
Share this question
or