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

Working with tabindex

1 Answer 290 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
IT
Top achievements
Rank 1
IT asked on 28 Mar 2011, 12:57 PM
Hi.

I'm having some trouble trying to accomplish the following, maybe you can help me.

I have two or more tabs, each of them having several controls (combos, textbox, textblock, grids, etc.). None of this controls have the tabindex setted, the position of the control within the xaml code should be sufficient to ensure the right order.

When the user hits the tab key in the last control of the first tab, I want to focus the first control in the second tab.

Is this possible? Is it possible without setting the tabindex?

Thanks!

Nico

1 Answer, 1 is accepted

Sort by
0
Accepted
Petar Mladenov
Telerik team
answered on 31 Mar 2011, 11:36 AM
Hello Nicolás,

This is not possible with setting a tab Index in the RadTabItems. The RadTabItem needs to be selected in order to get focus. So the best way to achieve this is to use keyboard events. Please find the attached sample where a basic approach s realized and let me know how it goes.

Greetings,
Petar Mladenov
the Telerik team
Tags
TabControl
Asked by
IT
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or