Tab order between two panel controls

2 posts, 0 answers
  1. keerthivasan
    keerthivasan avatar
    2 posts
    Member since:
    Mar 2018

    Posted 21 Sep 2018 Link to this post

    When I set the tab focus in the first panel, the focus is moving vertically inside the same panel, But I need it to move directly to the next panel when I click the tab button.
  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    3282 posts

    Posted 24 Sep 2018 Link to this post

    According to MSDN, the tab order is the order in which a user moves focus from one control to another by pressing the TAB key. Each form has its own tab order. By default, the tab order is the same as the order in which you created the controls. Tab-order numbering begins with zero. When a certain container control is focused (e.g. RadPanel), pressing the Tab key will navigate to the next control within this parent container and then it will jump to the rest containers on the same level. 

    If you need to monitor which control is focused when the Tab key is pressed I would suggest you to override the ProcessCmdKey method of the form and if Keys.Tab is handled, you can set the ActiveControl to the desired control. 

    protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
        if (keyData== Keys.Tab)
            this.ActiveControl = this.radTextBox5;
        return base.ProcessCmdKey(ref msg, keyData);

    I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

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