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

Tab Order Problem

2 Answers 21 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Vivek
Top achievements
Rank 1
Vivek asked on 14 Oct 2012, 12:48 AM
Hi,
    I have a window where i have a RadTreeView in left half and and a RadListBox in right half, i need to follow a tab order where when i press TAB first time  it should select the first root of the tree and in second time  it should select first item of listbox and after that if i press again (TAB) then it should highlight the first root item of the tree and further it should follow same pattern.  
but i could not figure out how to achieve this as tab order start from first root then first child then second root and then first child of that root and then it goes to list box please help me out.

2 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 17 Oct 2012, 02:09 PM
Hi Vivek,

Please have in mind that handling the focus can be tricky in Silverlight. However, you can achieve your goal by handling the KeyDown event as shown in the attached project. Take a look at it and let us know if it works for you.

Regards,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Vivek
Top achievements
Rank 1
answered on 18 Oct 2012, 09:32 AM
Hi Pavel,
             This worked for me, thanks for the reply.
Tags
TreeView
Asked by
Vivek
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Vivek
Top achievements
Rank 1
Share this question
or