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

TimeSelector behavior problems and styling question

1 Answer 26 Views
TimePicker and TimeSelector
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
X
Top achievements
Rank 1
X asked on 17 Sep 2014, 09:10 AM
Hi,

we are trying to accomplish some things with your TimeSelector, but progress is being rather slow due to the lack of documentation and what appears to be buggy behavior. Thereof answers to the following questions would definitely help:

- We are currently sucessfully using the Step property for the minutes DateTimeList, showing only 30 minutes steps, therefore we only show 2 Items for this specific DateTimeList. Problem arises whenever we set the time through the exposed SelectedValue property (or when the TimeSelector automatically initializes it) with a time that shows the xx:00. See the attached screenshot. Why does this happen and what workarounds exist?

- How can we customize the appearance of the unselected values? We want to get rid of the - what appears to be - border of each individual item, as well as customizing the entire appearance of the items. We are - kind of - successfully customizing the appearance of the selected items though.

- We wanted to provide our own DataSource to the different DateTimeLists we use, with no luck so far. We created a class inheriting from LoopingListDataSource and override the GetItemCore method, and set it within the viewmodel context, but nothing happens. How are we supposed to do it?

Thanks,
Xavier

1 Answer, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 22 Sep 2014, 09:11 AM
Hi,

Thank you for contacting us.

There seems to be a bug in the RadDate/TimePicker control when the height of the screen exceeds a certain value. I have redirected this issue to our development team. As a workaround you can increase the height of the selector header, which will decrease the available space for the picker lists. I have updated your Telerik points as a token of gratitude for bringing this issue to our attention.

The list items could be customized with a style that targets the DateTimeListItem type. This style can be included as an implicit resource in the RadTimeSelector control in the Template of the RadTimePicker. I have attached a sample project with a RadTimePicker and its style including the implicit DateTimeListItem Style.

Unfortunately, you can not change the source of the picker lists.

I hope this helps. Please, let us know if you have further questions.

Regards,
Rosy Topchiyska
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
TimePicker and TimeSelector
Asked by
X
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Share this question
or