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

RadGrid Shifts Location on Web Page When Grid Row is Clicked

1 Answer 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Susan
Top achievements
Rank 1
Susan asked on 30 Sep 2011, 02:08 PM
I have a radGrid on a ASP.NET page.  If the user clicks a row in the readonly radgrid and all rows in the grid are not fully visible in the browser (i.e. need to scroll IE to see the rest of the grid), the radgrid will shift its location up in the IE page so that the entire grid is visible.  In other words, the IE page jumps when clicking a row in the radgrid.  I don't want the screen to jump in this manner.  Is there a Telerik grid setting that can be changed to prevent this behavior?

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 05 Oct 2011, 08:26 AM
Hello Susan,

Please set the position:relative style to the scrollable container, whatever it is. In your case it is probably the RadGrid data container:
.rgDataDiv
{
 position:relative;
}

and let me know if it helps to resolve the described issue.

Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
Susan
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or