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

Databinding

4 Answers 52 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
Alex Wu
Top achievements
Rank 1
Alex Wu asked on 11 Jan 2010, 12:43 AM
How do I bind TimePicker value to a SQL DateTime column type?

4 Answers, 1 is accepted

Sort by
0
Alex Wu
Top achievements
Rank 1
answered on 12 Jan 2010, 06:17 PM
This should be very simple. I basically just want to display the time from a db datetime field with TimePicker control. Can someone please help?
0
Accepted
Kaloyan
Telerik team
answered on 13 Jan 2010, 01:19 PM
Hello Alex Wu,

Actually this is very simple. You need to set the ClockItemSource property of the RadTimePicker to every different type of collection. Check our online example for reference. 

Best wishes,
Kaloyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Alex Wu
Top achievements
Rank 1
answered on 13 Jan 2010, 03:52 PM
If I understand the example correctly it doesn't really display any value, it just set the options available for user to pick. What I need is to bind the value/display text to a value in my database.
0
Alex Wu
Top achievements
Rank 1
answered on 13 Jan 2010, 04:41 PM
I found my answer in this thread. Thank you

http://www.telerik.com/community/forums/silverlight/datepicker/how-to-display-the-selected-date-and-time-in-a-textbox.aspx
Tags
TimePicker
Asked by
Alex Wu
Top achievements
Rank 1
Answers by
Alex Wu
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or