Disabling Selection times in time picker

3 posts, 0 answers
  1. Anan
    Anan avatar
    31 posts
    Member since:
    Oct 2009

    Posted 05 Jan 2010 Link to this post

    Hello

    I am using the latest version of time picker. I want to grey out few times in time picker but display them (not allow user to select them.) Do we have something like we have for DataTemplateSelector ? If possible can u post an example?

    Thanks
  2. Anan
    Anan avatar
    31 posts
    Member since:
    Oct 2009

    Posted 06 Jan 2010 Link to this post

    anybody please??? I am stuck on this
  3. DevCraft banner
  4. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 07 Jan 2010 Link to this post

    Hi Anil Kumar,

    Sorry for the late response. Unfortunately the RadTimePicker doesn't expose an ItemTemplateSelector and ItemContainerStyleSelector properties. The workaround for this case is to set these properties in the RadClock control as it is part of the RadTimePicker. Find the attached project showing you this approach. 

    Regards,
    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.
Back to Top