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

Blocking time interval in timepicker control

1 Answer 89 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
prabhat
Top achievements
Rank 1
prabhat asked on 19 Jul 2010, 12:29 PM
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.

1 Answer, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 19 Jul 2010, 03:37 PM
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
Tags
TimePicker
Asked by
prabhat
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Share this question
or