DateTimePicker Focus

2 posts, 0 answers
  1. Sam
    Sam avatar
    1 posts
    Member since:
    Aug 2008

    Posted 14 Aug Link to this post

    I have a windows form in my application which uses the datetime picker.  I have noticed that there is no "Focus" property on the control.  I cannot do the following: 

    fromDatePicker.Focus() and force my my user to interact with that control first, other Telerik controls on the form allow me to do this.  

    I am using the latest version of the WinForm controls and VS 2019

    What am I missing?

    Thanks

     

  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3952 posts

    Posted 16 Aug Link to this post

    Hello, Sam,

    Similar to the all of the controls in the Telerik UI for WinForms suite, RadDateTimePicker also offers Focus method: 
            private void radButton1_Click(object sender, EventArgs e)
            {
                this.radDateTimePicker1.Focus();
            }

    I have attached my sample project for your reference. Please give it a try and see how it works on your end.

    In case you are still experiencing any further difficulties, feel free to modify it in a way to reproduce the experienced issue and get back to me with it so I can investigate the precise case. Thank you in advance. 
     
    I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

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

Back to Top