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

radtimepicker does not work with seconds

1 Answer 83 Views
TimePicker
This is a migrated thread and some comments may be shown as answers.
Frédéric
Top achievements
Rank 1
Frédéric asked on 17 Nov 2009, 07:59 AM
I think there is a bug with RadTimePicker or at least I don't understand why this does not work:

 

 

<Telerik:RadTimePicker

 

 

StartTime="0:0:0"

 

 

EndTime="0:10:0"

 

 

TimeInterval="0:0:10"

 

 

/>

 

>

 



My feeling is that seconds are not taken into account

Thanks

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 19 Nov 2009, 02:31 PM
Hi Frédéric De Lène Mirouze,

The control displaying format depends on the current culture setting. Try defining your own culture by using the code posted bellow:
var culture = new CultureInfo("en-US");
        culture.DateTimeFormat = new DateTimeFormatInfo()
        {
            ShortTimePattern = "HH:mm:ss" ////"h:mm tt"
        };
Greetings,
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.
Tags
TimePicker
Asked by
Frédéric
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or