Bug With Long Format on Windows Vista

8 posts, 0 answers
  1. Eric
    Eric avatar
    29 posts
    Member since:
    Jan 2008

    Posted 07 Jun 2008 Link to this post

    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.
  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 09 Jun 2008 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Eric
    Eric avatar
    29 posts
    Member since:
    Jan 2008

    Posted 09 Jun 2008 Link to this post

    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.
  5. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 13 Jun 2008 Link to this post

    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
  6. Eric
    Eric avatar
    29 posts
    Member since:
    Jan 2008

    Posted 13 Jun 2008 Link to this post

    I have submitted a bug report with a solution included.  My ticket ID is: 144122.
  7. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 16 Jun 2008 Link to this post

    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
  8. Kevin Meyer
    Kevin Meyer avatar
    36 posts
    Member since:
    Dec 2007

    Posted 25 Aug 2008 Link to this post

    I've experienced similar behavior with vista business.  Some of our datetime picker controls are respecting the format we specify.
  9. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 28 Aug 2008 Link to this post

    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.
Back to Top
UI for WinForms is Visual Studio 2017 Ready