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

row select page scroll

5 Answers 119 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mojtaba
Top achievements
Rank 1
Mojtaba asked on 22 Aug 2009, 06:32 AM
I select a row in grid and page is scrolled to top. why?

5 Answers, 1 is accepted

Sort by
0
ManniAT
Top achievements
Rank 2
answered on 22 Aug 2009, 03:40 PM
Hi,

could you please be a bit more precise?
You select a row in a RadGridView (click with the mouse or programmatically?).

The row is selected and then....
Your page scrolls?
The grid uses scrolling functionality - and the grid scrolls?

Regards

Manfred
0
Mojtaba
Top achievements
Rank 1
answered on 23 Aug 2009, 05:09 AM
Hi Manfred,
I select row with mouse and when I press UP/down arrow key selected row is changed and web page  is scrolled to top.
grid scrolling is off. I use Q1 2009.

Thank.
0
Mojtaba
Top achievements
Rank 1
answered on 26 Aug 2009, 07:39 AM
any idea?
0
Accepted
ManniAT
Top achievements
Rank 2
answered on 26 Aug 2009, 02:47 PM
Hi Mojtaba,

unfortunately not.
I checked it with this sample http://demos.telerik.com/aspnet-ajax/grid/examples/client/keyboardnavigation/defaultcs.aspx
And here scrolling also doesn't work correctly.
I change the pagesize to 50.
Then I select the last visible row - and it scrolls up to the middle of the window.
--OK so far - I thought.
Than I "mouse wheel" about 30 records down an select another one.
The grid scrolls the page up to the top (almost to the top: grid is the first visible element).
After a view tries I found that  - when I select a row and there is a scrollbar on the page then the grid scrolls the page
so that it is the first visible element.

I've never seen this before (never took care about it) - but I guess this is at least "strange".
Because it means - when ever a user selects a row the grid scrolls to top.

Regards

Manfred
0
Mojtaba
Top achievements
Rank 1
answered on 27 Aug 2009, 04:58 AM
Hi Manfred,

Thank you for reply
Tags
Grid
Asked by
Mojtaba
Top achievements
Rank 1
Answers by
ManniAT
Top achievements
Rank 2
Mojtaba
Top achievements
Rank 1
Share this question
or