TimePicker shows hours

2 posts, 0 answers
  1. Carlos Marchi
    Carlos Marchi avatar
    21 posts
    Member since:
    Sep 2009

    Posted 23 Nov 2009 Link to this post

    Hi Everybody,

    I'd like to know if does this component permit that shows times how it was a grid component?

    For example, I'd like to show hours between 00:00 am and 23:55 pm with interval of 5 minutes.  Theses schedules woulb be shown as a grid, where this there would be 10 columns, see example:

    00:00   00:05  00:10  00:15  00:20  00:25  00:30  00:35  00:40  00:45  00:50
    00:55   01:00  01:05  01:10  01:15  01:20  01:25  01:30  01:35  01:40  01:45
    ...

    Then, the user can click one or more times... Is it possible to do it with this component? Is there a demo that ilustrated a similar example that I liked?

    Thank you for all attention,

    Carlos
  2. Johny
    Johny avatar
    80 posts
    Member since:
    Aug 2008

    Posted 26 Nov 2009 Link to this post

    Hi Carlos,

    You ca try something like this:

    <telerik:RadTimePicker ID="RadDateTimePicker1" runat="server"
            <TimeView StartTime="00:00:00" EndTime="23:59:59" TimeFormat="HH:mm:ss" Interval="00:05:00" 
                Columns="12"
            </TimeView> 
            <DateInput DateFormat="HH:mm:ss" DisplayDateFormat="HH:mm:ss"></DateInput> 
    </telerik:RadTimePicker> 

    You can also find this article helpful:

    http://www.telerik.com/help/aspnet-ajax/calendar_pickertimeview.html

    I hope this helps,
    Johny
Back to Top