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

Difference between SelectedDate and SelectedValue property

1 Answer 154 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Kiran
Top achievements
Rank 1
Kiran asked on 21 Oct 2010, 04:53 PM
Hi

I noticed that RadDateTimePicker control has both SelectedDate & SelectedValue properties. How are they both different and if I have to bind to a database field which one should I be using.

Regards
Kiran

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 22 Oct 2010, 08:00 AM
Hi Kiran,

Thank you for contacting us.

The SelectedDate returns only the date part from the selected value. I would recommend to use the SelectedValue property to retrieve the selected date and time in the RadDateTimePicker.

Hope this information helps. If you have further questions please let us know.

Greetings,
Konstantina
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
Kiran
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or