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

Telerik RadGridView TabIndex Issue

4 Answers 106 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Anita
Top achievements
Rank 2
Anita asked on 28 Feb 2012, 07:25 PM
Hi,
I m using telerik version: 2011.1.419.1040 with silverlight 4.
Browser: IE

I m using a telerik radgridview, which contains around 12 columns, consist of combobox and textboxes.
issues which i m having are:
1. by default I want focus on first control, which is not coming.
2. when I use tab key to navigate through cells in gridview, the first focus came to cell and then it came to textbox or control.
what I want is, to bring first focus on control(textbox).
3. first column is combobox and then there is a textbox, while I select any item from combobox,the textbox l;oses its focus, while when i didn't select any item, focus came to textbox.

Please respond asap.

Thanks and Regards-
Anita.

4 Answers, 1 is accepted

Sort by
0
Shawn
Top achievements
Rank 1
answered on 03 Jun 2015, 05:39 PM
I have the exact same issue and even though I have found other posts asking the same thing on Telerik Forums, none of the answers apply to this particular situation.  They always just link to some other thread that is not the same and claim its a solution.  :/
0
Yoan
Telerik team
answered on 08 Jun 2015, 07:22 AM
Hi Shawn,

Actually, this is how RadGridView's built-in keyboard navigation works - pressing the Tab key will change the current cell (it will be focused). Then if you have a control in the CellTemplate of the column it will be focused when the Tab key is pressed for a second time. What I can suggest you is to set the TabStopMode property to Skip. In this way you will not be able to navigate in that column at all using the built-in navigation.

Regards,
Yoan
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
0
Shawn
Top achievements
Rank 1
answered on 08 Jun 2015, 02:24 PM

Hello,

Thank you for the reply.  Your possible solution won't work for my client as they still need access to the control inside the cell through tabbing.  Is there currently any way through tabbing, that they could navigate to the control in the cell without the focus hitting the gridview cell first?  I suspect this is not possible but it's worth asking.

0
Dimitrina
Telerik team
answered on 10 Jun 2015, 12:44 PM
Hello,

You can try configuring RadGridView.IsTabStop="False". That way you will only be able to tab over the TextBoxes assigned as CellTemplate.
Otherwise, the way to control the Tab stop behavior of the column would be through configuring column.TabStopMode, however, this seems to be not useful in the specific case.

Regards,
Dimitrina
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
GridView
Asked by
Anita
Top achievements
Rank 2
Answers by
Shawn
Top achievements
Rank 1
Yoan
Telerik team
Dimitrina
Telerik team
Share this question
or