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

RadGrid Row Select Scrolls Pane to Top

2 Answers 98 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Richard Weeks
Top achievements
Rank 2
Richard Weeks asked on 18 Apr 2011, 06:54 AM
I have 3 panes within a splitter arranged as [ 1 | 2 | 3 ].

I have a RadGrid in 1 and 2. Selecting an item from the grid in 1 loads up child data in 2. Selecting a row from the grid in 2 displays information for the selected item in 3.

The issue I have encountered is that when there are many rows in 2 to the extent that a vertical scrollbar appears in 2, scrolling down and selecting a row in the radgrid in 2 causes the pane to scroll to the top, losing the user's reference to that selected row.

How can I prevent 2 from scrolling to the top when a grid row gets selected?

Richard

2 Answers, 1 is accepted

Sort by
0
Accepted
Dobromir
Telerik team
answered on 20 Apr 2011, 01:44 PM
Hi Richard,

This behavior might occur in case where the grid located in the second pane have enabled KeyboardNavigation. If this is the case, this is a standard browser behavior - when KeyboardNavigation is enabled when a row is selected the whole grid element is focused, and under Internet Explorer is trying to navigate to the top or bottom of the focused element. To avoid this behavior you need to disable the RadGrid's keyboard navigation.

If this is not the case, could you please provide more detailed information on the specific scenario:
  • Which version of RadControls for ASP.NET AJAX and .NET Framework are used in the application?
  • Under which browser and its version the problem occurs?
  • Could you please provide a simple fully runnable project reproducing the problem so we can investigate it further?

All the best,
Dobromir
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Richard Weeks
Top achievements
Rank 2
answered on 21 Apr 2011, 12:22 AM
Thank you for your quick reponse.

Setting ClientSettings AllowKeyboardNavigation="false"  stopped the scrolling.

Many thanks!

Richard
Tags
Splitter
Asked by
Richard Weeks
Top achievements
Rank 2
Answers by
Dobromir
Telerik team
Richard Weeks
Top achievements
Rank 2
Share this question
or