Blocking time interval in timepicker control

2 posts, 0 answers
  1. prabhat
    prabhat avatar
    35 posts
    Member since:
    Jun 2009

    Posted 19 Jul 2010 Link to this post

    hi,

    As per my knowledge we can set the start time and end time of a Time picker control by setting the StartTimeproperty to any start time & EndTime property to any end time.
    BUT my requirement is that i need to show or enable only partcular time slots within time picker control so Is it possible to block out the partcular time slots in time picket control.
    For example if a physician is working only between 9-11 am and 3-5 pm then i want to block out or hide all other slots except between 9-11 am & 3-5 pm time slots in time picker control.

    Waiting for your reply.

    Thanks in advance.
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 19 Jul 2010 Link to this post

    Hi,

    Assuming that you use the latest version of the control (2010.2.714), you could use ClockItemsSource property to define what timeslots will be available.

    Sincerely yours,
    Valeri Hristov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top