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

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

7 Answers 123 Views
Input
This is a migrated thread and some comments may be shown as answers.
ANSUZ
Top achievements
Rank 1
ANSUZ asked on 22 Oct 2009, 08:28 PM
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

7 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 23 Oct 2009, 10:28 AM
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.
0
ANSUZ
Top achievements
Rank 1
answered on 23 Oct 2009, 01:33 PM
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


0
Daniel
Telerik team
answered on 23 Oct 2009, 02:41 PM
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.
0
ANSUZ
Top achievements
Rank 1
answered on 23 Oct 2009, 04:31 PM
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é

0
Daniel
Telerik team
answered on 28 Oct 2009, 05:00 PM
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.
0
ANSUZ
Top achievements
Rank 1
answered on 28 Oct 2009, 10:06 PM
Hello Daniel,
response attached Firebug's console:

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

Thanks in advance.

rene




0
Accepted
Daniel
Telerik team
answered on 04 Nov 2009, 12:37 PM
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.
Tags
Input
Asked by
ANSUZ
Top achievements
Rank 1
Answers by
Daniel
Telerik team
ANSUZ
Top achievements
Rank 1
Share this question
or