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

Maintain Scrolling Position

4 Answers 198 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mehmet Atlihan
Top achievements
Rank 1
Mehmet Atlihan asked on 08 Jul 2008, 05:27 PM
Dear Support Team and telerik users,

  I have a RadGrid for asp.net 2008  that is NOT Ajaxified, meaning there is no ajaxscript manager or anything, the page is doing traditional postbacks every time the user interacts with the page.
  I am trying to find out a strategy/solution to maintain the scrolling position of the Grid after a postback.  Documentation refers to client side solution or enabling the savescroll property which is not applicable in my case.

Any feedback will be highly appreciated.

Kindest Regards,

Mehmet Atlihan

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 09 Jul 2008, 07:14 AM
Hi Mehmet,

I'm not sure why this property is not applicable in your case - can you clarify?
You can check this example:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Client/Scrolling/DefaultCS.aspx

If you scroll the grid and press post-back button you will notice that the grid will retain the scroll position automatically.

All the best,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mehmet Atlihan
Top achievements
Rank 1
answered on 10 Jul 2008, 01:40 PM
Hi Vlad,

You are right,  my explanation is vague.  To be more specific,  there is a Select Command Button in the grid which fires the Postback operation. That is when the grid looses the scrolling position and client needs to scroll (basically find ) down to find out the selected item again.  Does that make sense?

Regards
Mehmet Atlihan
0
Shinu
Top achievements
Rank 2
answered on 11 Jul 2008, 07:16 AM
Hi Mehmet,

I found a forum link which discuss a similar scenario. Go through it and see whether it helps.
Maintain grid scroll position on postback

Shinu.
0
Mehmet Atlihan
Top achievements
Rank 1
answered on 11 Jul 2008, 03:33 PM
Hi Shinu,
  The solution provided in the article worked. Thank you for your help.

Sincerely,
Mehmet Atlihan
Tags
Grid
Asked by
Mehmet Atlihan
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Mehmet Atlihan
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or