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

Multi Grid Focus Problem

1 Answer 23 Views
GridView
This is a migrated thread and some comments may be shown as answers.
reg
Top achievements
Rank 1
reg asked on 14 Apr 2011, 10:07 AM
Hi,

I think I have found a focus issue when displaying multiple grids on the same usercontrol within a silverlight application.

I have three grids on a usercontrol which are stacked vertically. When I use the mousewheel or page down to navigate the top grid, the focus then shifts to the second grid. This also occurs when navigating the second grid, the focus moves to the third grid.

Surely the focus should only move to another grid when the user tabs into or clicks the grid, it shouldn't change when navigating the grid?

Any advice on how to stop this would be appreciated.

Thanks

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 15 Apr 2011, 04:23 PM
Hello reg,

When you use the mousewheel, it will scroll the control that the mouse is on (even not focused). This is the normal behavior in Silverlight.
 
When you select a cell(row) from the first grid and after that you scroll on the grid, the cell will lose focus when it becomes invisible. In Silverlight, if the selected cell loses focus, then it is set to the next control (i.e. to the second grid). That is why the Page Down button is working on the second grid.

Regarding your question for navigating with the page down button, currently we do not handle keeping the focus of invisible cell in the same, currently selected grid. We will be considering this for future improvements.

Kind regards,
Didie
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
Tags
GridView
Asked by
reg
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or