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

TimePicker clock hands

1 Answer 50 Views
Calendar, DateTimePicker, TimePicker and Clock
This is a migrated thread and some comments may be shown as answers.
Mamad
Top achievements
Rank 1
Mamad asked on 10 Jul 2017, 03:03 PM

Hi

When i change the time the clock will be not sync with picked time value in the moment.

If i close the time picker and reopen it the clock is synced by value now.

I want to sync clock position with picked time at the momment.

Please help me soon as possible.

Thnaks

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 11 Jul 2017, 06:56 AM
Hello Mamad,

You can use the following code to set the time:
public Form1()
{
    InitializeComponent();
 
    radTimePicker1.ValueChanged += RadTimePicker1_ValueChanged;
}
 
private void RadTimePicker1_ValueChanged(object sender, EventArgs e)
{
    radTimePicker1.TimePickerElement.PopupContentElement.SetClockTime(radTimePicker1.Value.Value);
}

In addition, I have noticed that you have posted the same question twice. I have deleted the other post in order to avoid duplicate threads in our forum.

I hope this will be useful.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Calendar, DateTimePicker, TimePicker and Clock
Asked by
Mamad
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or