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

seconds?

8 Answers 313 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
Lou
Top achievements
Rank 1
Lou asked on 25 Jun 2015, 08:40 PM

How do I setup a RadTimePicker to allow the user to enter seconds (as well as hours and minutes)?

Thanks,

 -Lou

8 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 30 Jun 2015, 08:51 AM
Hello Lou,

Thank you for writing.

You can set the RadDateTimePicker.Format property to DateTimePickerFormat.Custom and specify the desired format by using the CustomFormat property:
this.radDateTimePicker1.Format = DateTimePickerFormat.Custom;
this.radDateTimePicker1.CustomFormat = "HH:mm:ss";

I hope this information helps. Should you have further questions, I would be glad to help.
 
Regards,
Dess
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Lou
Top achievements
Rank 1
answered on 30 Jun 2015, 02:32 PM

Hi Dess, thanks for the reply, however... I was asking about the RadTimePicker control, not RadDateTimePicker :)

Is there a way to have the RadTimePicker control display seconds?

 Thanks,

 -Lou

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 03 Jul 2015, 08:26 AM
Hello Lou,

Thank you for writing back.

Please excuse us for the misunderstanding. Here is the sample code snippet for the RadTimePicker:
this.radTimePicker1.TimePickerElement.Format= "HH:mm:ss";

I hope this information helps. If you have any additional questions, please let me know.
 
Regards,
Dess
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Lou
Top achievements
Rank 1
answered on 06 Jul 2015, 03:47 PM

It works - thanks Dess.

 -Lou

0
RAHUL
Top achievements
Rank 1
answered on 11 Sep 2019, 05:45 AM
it is not working bro, it's giving suggestion of displayformat instead format
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 12 Sep 2019, 12:01 PM

Hello, Rahul,

Could you please give us more details about the exact behavior that is not working on your end? 

I would like to note that this forum is related to the Telerik UI for WinForms suite and I have noticed that you have downloaded other producs from your account but the WinForms one. Could you please also specify what is the product that you are currently using and with thich control you are facing difficulties? Thus, we would be able to get better understanding of the precise case and assist you further. Thank you in advance.

I am looking forward to your reply.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Yingli
Top achievements
Rank 1
answered on 25 Oct 2019, 03:35 AM
Yes, it is not working for me also
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 28 Oct 2019, 11:15 AM

Hello, Yingli,        

I have attached my sample project for your reference. Here is illustrated the result on my end:

Could you please give the sample project a try? Is it working as expected on your end? If you are still experiencing any further undesired behavior could you please specify the exact steps how to reproduce the problem? Thank you in advance.

I am looking forward to your reply.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Calendar, DateTimePicker, TimePicker and Clock
Asked by
Lou
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Lou
Top achievements
Rank 1
RAHUL
Top achievements
Rank 1
Yingli
Top achievements
Rank 1
Share this question
or