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

Rad date picker issue in format like 00/00/11

6 Answers 110 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
ganesh
Top achievements
Rank 1
ganesh asked on 13 Oct 2011, 02:46 PM
when i entered the 00/00/11 date in Rad Date Picker and press enter key it automatically changes the date to 31-Dec-2009

6 Answers, 1 is accepted

Sort by
0
Milena
Telerik team
answered on 17 Oct 2011, 04:15 PM
Hello Ganesh,

I suppose that the problem comes from the fact that your MaxDate is 31/12/2009. Could you please verify that?

I hope this helps.

All the best,
Milena
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
ganesh
Top achievements
Rank 1
answered on 18 Oct 2011, 11:11 AM
No, there is no min or max date set in this case. Its common for all raddatepicker. Is there any solution for this?
0
GaneshBabu
Top achievements
Rank 1
answered on 19 Oct 2011, 10:25 AM
check with your date picker demo's it also has same issue
0
Milena
Telerik team
answered on 20 Oct 2011, 01:09 PM
Hello Ganesh,

I am afraid that in this scenario the value you try to input is not valid and would lead to an unexpected result. To verify this you can try to parse it with Javascript:

new Date(Date.parse('00/00/2011'));

I hope this helps.

Kind regards,
Milena
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
GaneshBabu
Top achievements
Rank 1
answered on 21 Oct 2011, 09:54 AM
Where i have to use this javascript?
0
Milena
Telerik team
answered on 26 Oct 2011, 08:52 AM
Hello Ganeshbabu,

You do not have to insert any JavaScript in your code. I just suggested you to use Javascript as a way to verify that the value you have entered is not valid for this scenario.

Best wishes,
Milena
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Calendar
Asked by
ganesh
Top achievements
Rank 1
Answers by
Milena
Telerik team
ganesh
Top achievements
Rank 1
GaneshBabu
Top achievements
Rank 1
Share this question
or