TimePicker clock hands

2 posts, 1 answers
  1. Mamad
    Mamad avatar
    8 posts
    Member since:
    Jul 2017

    Posted 10 Jul Link to this post

    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

  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    1871 posts

    Posted 11 Jul Link to this post

    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.
Back to Top