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

Maintain Scroll position

3 Answers 690 Views
Grid
This is a migrated thread and some comments may be shown as answers.
balaji
Top achievements
Rank 1
balaji asked on 01 Mar 2011, 08:55 AM
Hi

In radgrid i'm rebinding data in edit. so i couldn't maintain its scroll postion.

Even i've set "SaveScrollPosition=true"

NOTE : its working fine when i take off ajax setting to rad grid and Load button. but its not tracking its scroll position while controls where loaded in ajax panel.

regards,

Baaje

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 01 Mar 2011, 01:04 PM
Hello,

RadGrid provides ClientSettings.Scrolling.SaveScrollPosition property that has exactly this purpose. However its default value is true, so if you have not explicitly disabled it RadGrid should save its scroll position. You can see this feature working in this online example:
Scrolling

But if that does not help, you can consider using cookies as shown in the following code library project:
Save RadGrid scroll position

Best wishes,
Pavlina
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
balaji
Top achievements
Rank 1
answered on 01 Mar 2011, 02:12 PM
Hi Pavlina,

Thanx for your reply.

I'm talking about the page scrolling postion, bcoz i've set page size as 100.

While doing edit.. page scrolls back to beginning of the page( i dont want scrolling in grid).

i apologize for misleading question.


Regards,

Baaje
0
Pavlina
Telerik team
answered on 01 Mar 2011, 05:47 PM
Hello,

Refer to the following link for more information:
http://www.google.bg/#sclient=psy&hl=bg&safe=high&q=save+browser+scroll+position&aq=f&aqi=&aql=&oq=&pbx=1&fp=2b857bf4699fcbf4

Regards,
Pavlina
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Grid
Asked by
balaji
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
balaji
Top achievements
Rank 1
Share this question
or