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

tab navigation in the row

1 Answer 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Franco Gozzi
Top achievements
Rank 1
Franco Gozzi asked on 18 Jul 2010, 02:45 PM
I'm evalueting Rad Controls so i put a radgrid on my aspx page.
I use keyboard settings to navigate through rows. When i stop on a row i would like to tab and set focus on controls in a template column of the same row. Any idea?

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 22 Jul 2010, 08:02 AM
Hello Franco,

You can wire the OnRowSelected and OnRowDeselected client events of the RadGrid in order to keep track of the current selected index. Then in client-side KeyPress event, if the pressed key is Tab, you can find the control you want to focus by using the findElement/findControl method using the control's ID. This approach is demonstrated in the sample project I am attaching.

Additionally, you should keep in mind that if the control you want to focus is from our Telerik RadControls suite, you should use findControl(), while for native asp controls, the correct method to use is findElement().

Best wishes,
Tsvetina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Franco Gozzi
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or