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

Tab keyboard does not work in radwindow opens another, both in modal

1 Answer 22 Views
Window
This is a migrated thread and some comments may be shown as answers.
Luis
Top achievements
Rank 1
Luis asked on 06 Oct 2015, 04:57 AM
Good day Telerik team

Inside the main page I have a radgrid in which has a button within a GridTemplateColumn for each of its items. This button opens a first Radwindow me with .Show () property in JavaScript in this first tabulation radwindow works perfectly with the tab key. Now in this first radwindow I have another radgrid that works the same way as the first and one second opening radwindow me. The problem here is not working abut the tab key in the second radwindow tab, when I press the tab key icon radwindow title of the second open is selected and then jumps back but never selected controls within this second radwindow .

Please tell me a solution, because I need the tab key to move through the controls (there are many) the second open radwindow.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 06 Oct 2015, 08:34 AM

Hello Luis,

When a modal RadWindow is opened, its goes through all elements on the page and removes their tabIndex attributes, so it can disable keyboard navigation. If your RadWindows have their ContentTemplate used this means that the contents of the second one will already have their tabIndexes removed by the time you open it.

To avoid that, you can use an entire content page for the dialogs.

You will probably find useful the following code library that will show you how to link the dialogs and pass data back and forth: http://www.telerik.com/support/code-library/creating-parent-child-relationships-between-radwindows-and-passing-data-between-them.

On a side note - according to accessibility specifications, modal dialogs must have default focus set, and since the content is arbitrary, it is up to the developer to provide that focus.

Regards,

Marin Bratanov
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Window
Asked by
Luis
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or