
Could you please tell me how to disable tabbing inside grid.
Tabbing inside grid is taking me to next cell. I don't want that to happen.
Thanks
Kashi Reddy
10 Answers, 1 is accepted
I suppose that you want to TAB inside GridViewCell.
Unfortunately with the current version of the RadGridView control it is not possible to do that.
We are doing our best to improve this case of the TAB navigation for the next official release.
Kind regards,
Nedyalko Nikolov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

Unfortunately current version of RadGridView (2010.Q1) does not support such behavior. We will do our best to implement this for the next latest internal build (next Friday). I'll notify you as soon as this feature is ready.
Best wishes,
Nedyalko Nikolov
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.

I used IsTabStop = False but no success :(
I downloaded WPF 4 - DLLs only (zip, 12 MB) from
http://www.telerik.com/account/your-products/trial-product-versions/trial-single-download.aspx?pmvid=2379&pid=0
I wanted to know if this issue is solved in this latest release or not. If yes :) then how can that be achieved.
Regards
Rishab

I was expecting a lil early reply as I have to either put it on hold (mentioning the reason) or complete it for release.
Please if you can take some time and reply, then I will be very thankful to you :)
Good day
regards

I am using telerik grid in my application and noticed a problem. i.e The rows get selected while navigating with tab.
Could you please provide some solution to disable it?
Tegbir

I just tried it with the 2011 Q1 SP1 version and I still can't find a way to tab into the RadGridView (actually I'm using the RadTreeListView, but it should behave the same way in this situation) and tab out of it to the next control with the next Tab.
I tried setting the KeyboardNavigation.TabNavigation property to "Once", but then the Tab-Focus leaves the page completely and ends up in the MDI-parents main menu. Setting the property to any other value results in the Tab-Focus leaving the GridView for the next control on the page, but only after stepping through every single cell in the grid.
We are currently evaluating the Telerik controls for our next MDI-application. The "windows" are actually just pages, that the framework puts into windows and throws those into the main window as MDI-children. Keyboard-navigation is an absolute must, if there is no way of moving the Tab-Focus directly from the currently selected row (and not only the last one) to the next control on the page, that pretty much eliminates the Telerik controls for our application.
OK, writing this post I got the idea for a workaround. It is pretty dirty, but it works.
Attach the following EventHandler to both the KeyDown- and KeyUp-Event (replace <gridName> with the name of your grid):
private void TabStopSwitch(object sender, KeyEventArgs e)
{
gridName
>.IsTabStop = !<
gridName
>.IsTabStop;
}
}
This way upon pressing the Tab-key within the grid, IsTabStop is set to false, thus leaving the grid instead of going to the next cell. As soon as the Tab-key is realeased IsTabStop is once again true, so on the next round the Tab-Focus will enter the grid again and so on and so on.
P.S.: It works even better with the GotFocus and LostFocus Events. You can of course get rid of the use of the name, if you want to use it for more than one control:
private void TabStopSwitch(object sender, RoutedEventArgs e)
{
((Control)e.Source).IsTabStop = !((Control)e.Source).IsTabStop;
}
I've just checked and this issue is fixed. When KeyboardNavigation.TabNavigation is set to "Once" TAB key focuses RadGridView and next TAB key moves focus to the next focusable control (according to .NET framework).
Could you please try your scenarios with our latest official release (2011.Q1.SP1) and let me know about the result?
Nedyalko Nikolov
the Telerik team

as I have already written, I've tried it with the 2011.Q1.SP1 release and it didn't work in our program.
This may have something to do with the special situation we are in. We use pages instead of windows and those are then thrown into windows that are child-windows to an MDI-parent-window by the framework we use.
When the Tab-Focus leaves the Grid it leaves the child-window completely and ends up in the menu in the MDI-parent-window.
The next focusable control would be a button below the grid. With the pages KeyboardNavigation.TabNavigation set to Cycle the Tab-Focus shouldn't leave the page.
We are responsible only for the navigation inside RadGridView when focus leaves RadGridView .NET framework controls the focus. Be aware that next focusable control will be the one which is "next" in the visual tree. For example the next focusable control will be a control which is beneath RadGridView in xaml file no matter if this control is arranged (via Grid.Row property) above the grid.
Let me know if this doesn't help.
Nedyalko Nikolov
the Telerik team