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

Automatic format

1 Answer 58 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Rieni De Rijke
Top achievements
Rank 1
Rieni De Rijke asked on 30 Aug 2010, 09:41 AM
In one of the older versions of the Date(Time)Picker the user could just write a date with only numbers,
like this: "30082010".

Then, when leaving the control, the text/date automaticly changed to 30.08.2010 (as we write dates in Norway).
Is this feature still here? How can we "get it back"?   8-)

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 02 Sep 2010, 12:21 PM
Hello,

Thank you for contacting us.

We made some changes in the Parser in date/time pickers and that it is what causes the described behavior. It's logged as feature request in our Public Issue Tracking System (PITS) and you can affect its priority by voting for it. The more clients' requests we receive the sooner we'll include it in our development plans. You can track this progress in our PITS with Issue ID = 2766.

You could workaround it by implementing your own parser that suits your needs. You need to handle the ParseDateTimeValue event and to parse the input string to DateTime value. Attached you can find a sample that I made. It illustrates how to accomplish the task.

Please do not hesitate to contact us if you require any further information.

Kind regards,
George
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
DateTimePicker
Asked by
Rieni De Rijke
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or