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

Key.Down specially handled by RadGridView?

1 Answer 208 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Chris Smith
Top achievements
Rank 1
Chris Smith asked on 21 Nov 2008, 12:31 PM
Dear All

We are using an editable row within a RadGridView and the RadGridView appears to be hooking the PreviewKeyDown or KeyDown event and changing the focussed element in the visual tree when the down arrow key is pressed anywhere inside the grid.  This manifests itself as focus shifting away from, say, a text box when we press the down arrow key in it.

Something along the top edge of the grid is receiving focus when we do this, but we can't identify this thing when we use Snoop.  We're just seeing a dotted line above the column header row in the grid.

Can you check the code and see what's going on?  Our editable row is used elsewhere in the app outside of a grid and pressing key down in a text box has no effect.

Regards

Chris Smith

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 21 Nov 2008, 04:38 PM
Hi Chris Smith,

I have tried to reproduce the problem here, but with no success. Can you please send us a sample project or a piece of XAML which illustrates the issue?

Sincerely yours,
Pavel Pavlov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Chris Smith
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or