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

DateTimePicker ValueChanging Event

1 Answer 121 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
Jason Maronge
Top achievements
Rank 1
Jason Maronge asked on 15 Apr 2010, 04:17 AM
I must be missing something here, but I can not seem to handle the ValueChanging event of the RadDateTimePicker.DateTimePickerElement and modify the value.  Is there a trick to be able to?  I need to catch the values and change them before they are displayed. 

What I am basically trying to do is to create a grid editor that will allow me to capture hours that someone worked.  It needs to have the up/down buttons and except only numeric input.   I try using the spineditor and that did not work, so I am now trying to use the DateTimePicker and almost have it.  Now all I need to do is to watch for a value to change, determine if they are incrementing or decrementing it and change it to be in 15 min intervals.  Problem I am running into is that no matter how I set the value in the ValueChanging event it ends up in an infinite loop.

In looking at the source for it, I do not see anyway around it.  Anyone have any ideas, or am I just way out there in trying to do something like this?

Thanks,

Jason

1 Answer, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 16 Apr 2010, 05:30 PM
Hello Jason Maronge,

I have been able to reproduce the issue with the ValueChanging event. We will do our best to address it in the Q1 SP2 release. Unfortunately, the event arguments are not working and there isn't an available workaround at the moment.

Please contact us, if you need more information regarding this.

Greetings,
Boyko Markov
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
Calendar, DateTimePicker, TimePicker and Clock
Asked by
Jason Maronge
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Share this question
or