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

Can we extend the InputBox parsing logic?

4 Answers 51 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Richard van Diggelen
Top achievements
Rank 1
Richard van Diggelen asked on 03 Mar 2010, 06:19 AM
Hi there,

We need to support some customised formats for user to type in the input box. e.g. if I type a "+5" in the input box today (03/03/2010), it needs to be converted to 08/03/2010  (the 5th day from today's date).

We've tried to bind a converter to the datepicker, but it's too late as the input has already been updated by the default parsing logic. And the fact that having inputText as a private member is not helping either.

So, Is there a way to change/extend the datepicker's default inputbox text parsing mechanism? Thanks in advance.




Cheers,






4 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 05 Mar 2010, 11:52 AM
Hi Richard van Diggelen,

Extending the parse logic is not supported in the current version.
We will add it to our backlog and if there is enough support we may expose it in the future.

Best wishes,
Hristo
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
Doots
Top achievements
Rank 1
answered on 14 Jun 2012, 02:25 PM
Hi,

I'm highly interested in extending the parse logic of the DatePicker, could you tell me if this is now possible ? Thanks for your help.

Doots
0
Yana
Telerik team
answered on 15 Jun 2012, 08:49 AM
Hello Doots,

You can use ParseDateTimeValue event of the DateTimePicker to implement custom logic.

Hope it helps.

Greetings,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Doots
Top achievements
Rank 1
answered on 18 Jun 2012, 09:04 AM
Hi Yana,

This is exactely what I was looking for ! Thanks :)

Doots
Tags
DatePicker
Asked by
Richard van Diggelen
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Doots
Top achievements
Rank 1
Yana
Telerik team
Share this question
or