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

Bug With Long Format on Windows Vista

7 Answers 50 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 07 Jun 2008, 10:59 PM
Today I ran an application I made last week on my laptop, which is running Windows Vista.  The application has a dateTimePicker, with the format set to "long".  In Vista, the default date shows as "June-07-08", while it shows as "June 7, 2008" on XP.  Therefore, when I try to pick a date, it reset me to the minimum date, which is January 01, 1990 by default.

Thanks in advance.

7 Answers, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 09 Jun 2008, 08:45 AM
Hi Eric,

Thank you for writing.

Could you be more specific about the method you use to pick a date? Is it using the dropdown calendar, the up/down arrows to spin the values, via the mouse wheel scrolling up and down or typing in the mask edit field of RadDateTimePicker? 

If you have different culture settings, the display dates would differ from one another as RadDateTimePicker uses the current culture specified by the OS by default. If you want to select a different culture, you should use the Culture property. This will cause the RadDateTimePicker value to re-format itself based on the new culture setting. 

If you type slowly, for example you enter 200 in the year field of RadDateTimePicker, and then wait for 0.5 seconds, an auto-update will happen and the value would be updated to the minimum possible value, which in this case is the MinDate. We will expose a property which controls the time-delay for auto-update in the next release.

If you have any other questions, do not hesitate to write me back.

Sincerely yours,
Boyko Markov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Eric
Top achievements
Rank 1
answered on 09 Jun 2008, 08:45 PM
Hi, thank you for replying.

I use the key up/down selection of the date (press up arrow to increase and vice versa), and my OS culture is set to English(US).  However, typing in the date gives a similar effect.

Currently, I have changed the Format from Long to Custom, so there are no problems with it.

If you would like a screenshot, I will gladly go on my laptop to get one.

Thanks in advance.
0
Boyko Markov
Telerik team
answered on 13 Jun 2008, 08:31 AM
Hello Eric,

Thank you for the explanation.

Yes, a screenshot or a project reproducing the issue would be greatly appreciated. It will help us provide a solution faster.

I am looking forward to your response.

Sincerely yours,
Boyko Markov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Eric
Top achievements
Rank 1
answered on 13 Jun 2008, 08:25 PM
I have submitted a bug report with a solution included.  My ticket ID is: 144122.
0
Boyko Markov
Telerik team
answered on 16 Jun 2008, 08:15 AM
Hi Eric,

Thank you for getting back to us.

I have already responded to your question under ticket ID - 144122. Unfortunately, we were not able to reproduce the problem under the testing OS - Vista Ultimate SP1 32bit with English(US) regional settings.

Please contact me with any further questions you have.

Regards,
Boyko Markov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kevin Meyer
Top achievements
Rank 1
answered on 25 Aug 2008, 07:10 PM
I've experienced similar behavior with vista business.  Some of our datetime picker controls are respecting the format we specify.
0
Boyko Markov
Telerik team
answered on 28 Aug 2008, 02:41 PM
Hi Kevin Meyer,

Could you please open a new support ticket and send me a simple project demonstrating the issue? I think the problem comes from the different culture settings that are used by XP and VISTA.

I'm looking forward to your reply.


Greetings,
Boyko Markov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Calendar, DateTimePicker, TimePicker and Clock
Asked by
Eric
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Eric
Top achievements
Rank 1
Kevin Meyer
Top achievements
Rank 1
Share this question
or