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

Setting focus to a TreeView

1 Answer 59 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Mick
Top achievements
Rank 1
Mick asked on 25 May 2012, 01:03 AM
Is there a way to set the focus to a treeview (such that the user can navigate the tree using arrow keys) without raising the OnNodeClick event?

I have a popup displaying a RadTreeView which closes once the user has selected a node on the tree, however when the popup is displayed the treeview does not have focus.

Edit:
I've realised the problem may be more to do with the ModalPopupExtender in which the TreeView is placed.  I believe the focus remains on the form behind the popup.  

Thanks in advance...

Michael

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 28 May 2012, 12:13 PM
Hello Mick,

To see how you can enable keyboard support for RadTreeView, please review the following demo:
http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/keyboard/defaultcs.aspx 
 
Kind regards,
Bozhidar
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
TreeView
Asked by
Mick
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or