This is a migrated thread and some comments may be shown as answers.
How can i stop auto correction of the value of datepicker?
5 Answers 31 Views
This is a migrated thread and some comments may be shown as answers.
Sadeka
Top achievements
Rank 1
Sadeka asked on 10 Mar 2010, 01:52 PM
if the date format is mm dd yyyy and
when i enter 25-09-2010 then the datepicker auto corrects the value to 09-25-2010.

I want to stop that.
Anyone have any idea how to stop that?

5 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 10 Mar 2010, 02:10 PM
Hello Sadeka,

The textbox value of the RadDatePicker control always conforms to the date format. So the only way to stop the autocorrection in your case is to set a different date format.

Best wishes,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Bobby Singh
Top achievements
Rank 1
answered on 12 Mar 2010, 10:55 AM
Hi there,

I want to be absolutly sure that I understand you correctly

So if I change the dateformat to e.g. yyyy mm dd then it will not autocorrect.
0
Dimo
Telerik team
answered on 12 Mar 2010, 11:02 AM
Hello Bobby,

If the format of the user input matches the DateInput's DateFormat, then the control will not autocorrect it (e.g. switch places of the month and the day).

All the best,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Bobby Singh
Top achievements
Rank 1
answered on 12 Mar 2010, 12:49 PM
Hi Telerik team (Dimo),

The challenge for us we have different configuration for global location, hence it is not that that straight forward for us.

It would be cool if it is possible to decativate the autocorrect

Where can I submit such a feature request?

Regards
Bobby
0
Dimo
Telerik team
answered on 12 Mar 2010, 03:32 PM
Hello Bobby,

I am afraid we do not intend to support such a behavior in the near future - if you are working on a global application, please consider setting the control's Culture or DateFormat dynamically.

Best wishes,
Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Ajax
Asked by
Sadeka
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Bobby Singh
Top achievements
Rank 1
Share this question
or