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

How is tabbing into and out of the TreeView supposed to work?

2 Answers 55 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 16 Jan 2013, 11:41 PM
I have a TreeView in my UserControl and when I tab into it from the previous control, the focusvisual shows on the TreeView as a whole, and I can't seem to get access to the TreeViewItems.  How can I make the first (or selected) TreeViewItem be the one that has the focus so I can navigate the Tree?

Thanks in advance,
Steve

2 Answers, 1 is accepted

Sort by
0
Accepted
Pavel R. Pavlov
Telerik team
answered on 21 Jan 2013, 01:18 PM
Hi Steve,

Can you please elaborate on your scenario? How do you attempt to change the focus (pressing Tab key or pressing the combination Shift+Tab)? If you try to change the focus backwards (Shift+Tab) you will not be able to focus the controls that are defined before the RadTreeView control. This behavior is logged as a bug in our PITS and you can vote for it and follow it here. However, you have to able to change the focus between the controls forwards, by pressing the Tab key. Please take a look at the attached project and see how the controls are handling the focus.

Regards,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Steve
Top achievements
Rank 1
answered on 23 Jan 2013, 11:53 PM
I'm not sure what the problem was with my implementation; however I ended up not using the TreeView after all.  I appreciate you response and will keep the example in hand so that if the situation comes up again, I'll have your project for referrence.

Thanks much,
Steve
Tags
TreeView
Asked by
Steve
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Steve
Top achievements
Rank 1
Share this question
or