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

Tabbing between controls...

2 Answers 24 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 2
Kevin asked on 10 Oct 2011, 03:03 PM
Was wondering if anyone had any ideas on how we could do this?

we have overriden the ItemContainerStyle of the RadTreeView, So we have our own custom control....

this control is a series of labels and buttons, but within these we have a textbox... inorder to enrich our user experience, we'd like to be able for users to be able to tab between these TextBoxes, order to quickly enter the text in each item.

Is this possible? Any help would be most welcome

2 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 13 Oct 2011, 01:11 PM
Hi Kevin,

 I prepared a solution for you that uses the KeyDown event of the RadTreeView. Basically when a RadTreeViewItem is selected and focused (after a mouse click), pressing the Tab key will focus and select the whole text in the TextBox from the item's Header. Please let us know if this approach satisfies you.

Greetings,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Kevin
Top achievements
Rank 2
answered on 13 Oct 2011, 01:38 PM
Petar,

JUST what i was looking for! :-) cheers mate!

Works a charm, and will save my sanity when testing!!
Tags
TreeView
Asked by
Kevin
Top achievements
Rank 2
Answers by
Petar Mladenov
Telerik team
Kevin
Top achievements
Rank 2
Share this question
or