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

Selction Changed triggered before time is selected

2 Answers 22 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Xaria D
Top achievements
Rank 1
Xaria D asked on 18 Oct 2010, 02:40 AM
I wish to capture the selection changed event for DateTimePicker. But the event is triggered when I select the date and yet to select the time, how to make sure that the event is triggered only after I select both date and time?

2 Answers, 1 is accepted

Sort by
0
Xaria D
Top achievements
Rank 1
answered on 19 Oct 2010, 04:16 AM
Any input on this one?
0
Kaloyan
Telerik team
answered on 20 Oct 2010, 12:15 PM
Hello Xaria D,

You can add a private DateTime variable to store the SelectedValue. When a SelectionChanged is fired, check the new date with this variable to determine weather time or date is  changed.

All the best,
Kaloyan
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
Xaria D
Top achievements
Rank 1
Answers by
Xaria D
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or