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

Additional useful features

2 Answers 37 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
4ward s.r.l.
Top achievements
Rank 1
4ward s.r.l. asked on 17 Dec 2009, 12:40 PM
A customer is asking me if it's possible to do the following:
  • Entering time directly in the box, but filtering possible value as 00-23 for hours and 00:59 for minutes
  • Allowing maximum of 4 characters. I.e. 2359
  • Automatically SelectAll content of the input box on focus

Kind regards

2 Answers, 1 is accepted

Sort by
0
Accepted
Kaloyan
Telerik team
answered on 19 Dec 2009, 11:16 AM
Hello 4ward s.r.l.,

RadTimePicker supports the directly entering of the time value. The format of the selected time depends on the setted Culture property of the control. For example:

radTimePicker.Culture = new CultureInfo("en-US");
            radTimePicker.Culture.DateTimeFormat = new DateTimeFormatInfo()
            {
                ShortTimePattern = "HH:mm"
            };

The entering of only 4 characters by setting a property from the RadTimePicker control is not supported. We are working on adding a Select and SelectAll method to the control. Let us know if you need any other help.

    Kind regards,
Kaloyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
4ward s.r.l.
Top achievements
Rank 1
answered on 22 Dec 2009, 11:13 PM
Perfect !
Tags
TimePicker
Asked by
4ward s.r.l.
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
4ward s.r.l.
Top achievements
Rank 1
Share this question
or