Enter time in hour and minutes

2 posts, 0 answers
  1. Greg Smalter
    Greg Smalter avatar
    2 posts
    Member since:
    Mar 2008

    Posted 14 Apr 2009 Link to this post

    I want to be able to enter time in hour:minute format, just like RadTimePicker defaults to, except without AM/PM, without the clickable clock popup, and and without a limit of 24 hours.  Basically, I want the user to be able to enter a duration in hours and minutes rather than entering a time of day.

    So, I could enter:

    37:13

    For 37 hours and 13 minutes.

    What is the best way to accomplish this?

    Thanks.
  2. Dimo
    Admin
    Dimo avatar
    8450 posts

    Posted 16 Apr 2009 Link to this post

    Hi Greg Smalter,

    The easiest way would be to use RadMaskedTextBox instead of a RadTimePicker:

    The Mask will be "##:##"

    Sincerely yours,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top