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

[Solved] Time Picker vertically oriented

1 Answer 105 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Brett Robichaud
Top achievements
Rank 1
Brett Robichaud asked on 17 Apr 2009, 05:02 PM
By default the time picker has times increasing horizontally. I find this unintuitive. Is there any way to re-orient the times so that they increase downward, then flip to the next column?

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 22 Apr 2009, 04:49 PM
Hello Brett,

RadTimePicker does not support the requested functionality straight out-of-the-box. You can attain this behavior if you pre-arrange your data in appropriate way.

Example:
List<DateTime> timeList = new List<DateTime>(); 
timeList.Add(DateTime.Parse("01:30")); 
timeList.Add(DateTime.Parse("03:30")); 
timeList.Add(DateTime.Parse("05:30")); 
 
timeList.Add(DateTime.Parse("02:30")); 
timeList.Add(DateTime.Parse("04:30")); 
timeList.Add(DateTime.Parse("06:30")); 
 
RadTimePicker1.TimeView.DataList.DataSource = timeList; 

Time Picker
1:30 AM 3:30 AM 5:30 AM
2:30 AM 4:30 AM 6:30 AM


Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Calendar
Asked by
Brett Robichaud
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or