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

RadGrid Scroll bar position when navigation through pages

3 Answers 13 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shruthi N
Top achievements
Rank 1
Shruthi N asked on 08 Jun 2010, 10:14 AM
Hi,

I have a rad grid in which 2 pages. I am on first page and Scroll down through list on the first page to any position (ie. halfway) .
I move to 2nd page. The scroll bar will take the position as set in the previous page and do not default to top of the grid.

How do I default the scroll bar's position to the top when navigated betweeb pages in the radgrid?

Thanks & Regards,
Shruthi N

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 08 Jun 2010, 04:00 PM
Hello Shruthi,

Please refer to the following help article:

http://www.telerik.com/help/aspnet-ajax/ajxpanelscrolltotop.html

All the best,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Shruthi N
Top achievements
Rank 1
answered on 09 Jun 2010, 11:13 AM
Hi,

The information provided on the link is not working for me. It give the following error when I try to put the RadAjaxPanel1.ActiveElementID = null; on the page load event:

'Telerik.Web.UI.RadAjaxPanel' does not contain a definition for 'ActiveElementID'   at System.Web.Compilation.AssemblyBuilder.Compile()

Just for confirmation: I am looking at setting the position of the RadGrid's scroll bar and not the browser's scroll bar.

Thanks & Regards,
Shruthi N


0
Pavlina
Telerik team
answered on 10 Jun 2010, 12:44 PM
Hi Shruthi,

Please try to set the SaveScrollPosition property to false to ensure that the scroll position will not be retained across postback/ajax requests and see if it works.

All the best,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Shruthi N
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Shruthi N
Top achievements
Rank 1
Share this question
or