Error in RadDateInput. Not permit date "10/11/2009"

8 posts, 1 answers
  1. ANSUZ
    ANSUZ avatar
    4 posts
    Member since:
    Feb 2008

    Posted 22 Oct 2009 Link to this post

    Hello,

    When insert "10/11/2009" in raddateinput control, this switch to 
    "10/10/2009"
      English Culture. (version 2.1.4.0)

    Any idea how to solve? 

    Thanks in advance.

    rene
  2. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 23 Oct 2009 Link to this post

    Hello Ansuz,

    Please make sure that you set an appropriate culture to your RadDateInput. For example:

    dd/MM/yyyy - en-GB
    MM/dd/yyyy - en-US
    yyyy/MM/dd - sv-SE

    <telerik:RadDateInput ID="RadDateInput1" runat="server" Culture="en-GB" DateFormat="dd/MM/yyyy" />

    Regards,
    Daniel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. ANSUZ
    ANSUZ avatar
    4 posts
    Member since:
    Feb 2008

    Posted 23 Oct 2009 Link to this post

    Hello,
    this solution don't work. the date is "10-11-2009" in English Culture and "11-10-2009" in Spanish Culture. Please Check in your website:

    http://demos.telerik.com/aspnet-ajax/input/examples/raddateinput/firstlook/defaultcs.aspx, the date change to "10-10-2009".

    Thanks in advance

    rene


  4. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 23 Oct 2009 Link to this post

    Hello Rene,

    I'm unable to reproduce the depicted issue. Please examine the attached video and let me know if I'm missing something.

    Kind regards,
    Daniel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. ANSUZ
    ANSUZ avatar
    4 posts
    Member since:
    Feb 2008

    Posted 23 Oct 2009 Link to this post

    Hello Daniel,
    10-11-2009 (Culture English) or 11-10-2009 (Culture Spanish)

    Windows XP Spanish Internet Explorer 8 Spanish: Error, date change 10-10-2009
    Windows XP Spanish Internet Explorer 7 Spanish: Error, date change 10-10-2009
    Windows XP English Internet Explorer 6 English: OK
    Windows 2K Spanish Internet Explorer 6 Spanish: OK

    Why is that ?
    It's my S.O. o version IE ?
    May you try in this S.O. ?

    Thank in advance

    rené

  6. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 28 Oct 2009 Link to this post

    Hello Rene,

    Please follow these steps and let me know what is the result:

    1. Open Mozilla Firefox and expand the Firebug's console
    2. Enter the following snippet:
    new Date("10/11/2009")
    3. Press Enter
    4. Copy the response and paste it in your reply.

    I ask you for that, because I believe this is the point where the date shifts according to DST.

    Regards,
    Daniel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. ANSUZ
    ANSUZ avatar
    4 posts
    Member since:
    Feb 2008

    Posted 28 Oct 2009 Link to this post

    Hello Daniel,
    response attached Firebug's console:

    Sat Oct 10 2009 23:00:00 GMT-0400

    Thanks in advance.

    rene




  8. Answer
    Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 04 Nov 2009 Link to this post

    Hello Rene,

    Please examine the following thread:
    Problem with RadDatePicker control - Cannot select 01/10/2009

    Best regards,
    Daniel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top