TimeSelector behavior problems and styling question

2 posts, 0 answers
  1. X
    X avatar
    1 posts
    Member since:
    Sep 2014

    Posted 17 Sep 2014 Link to this post

    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

  2. Rosy Topchiyska
    Admin
    Rosy Topchiyska avatar
    551 posts

    Posted 22 Sep 2014 Link to this post

    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.

     
  3. DevCraft banner
Back to Top