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

Tab Order From Grid to rest of page

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris @ Intrinsic
Top achievements
Rank 1
Chris @ Intrinsic asked on 14 Jun 2011, 07:50 PM
I have a grid that is hidden when the page initially loads.  So, the tab order is correct when the grid is hidden.  The user clicks or presses a button and the grid appears with the results.  Now the tab order is set to the first heading of the grid, which is correct.  Then it tabs through the grid.  But, after the grid instead of going to the menu on the page, it goes to some links on the bottom of the screen, then it goes to the browser URL, then the browser menu, which is not what I want to happen.  Is there a way to keep the tab order the same when the grid is hidden or not?  I'm not sure why it's going to the browser menu after the grid when it appears.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 20 Jun 2011, 08:27 AM
Hi Chris,

The tabIndex of RadGrid's topmost container is always set to 0. It is a design decision dictated by differences in how browsers handle the tabbing navigation inside the grid. There is no option to turn it off, except for removing the DOM element's tabIndex property, where possible. Additionally you could try handling the blur event of the RadGrid's div element and set manually the focus to the menu control. Please give it try and let me know if it helps you.

Greetings,
Radoslav
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Chris @ Intrinsic
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or