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

[Solved] Enter time in hour and minutes

1 Answer 369 Views
Input
This is a migrated thread and some comments may be shown as answers.
Greg Smalter
Top achievements
Rank 1
Greg Smalter asked on 14 Apr 2009, 08:51 PM
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.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 16 Apr 2009, 08:17 AM
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.
Tags
Input
Asked by
Greg Smalter
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or