Solved

Gridview scrollintoview - in ASP.NET?

Posted on 2007-04-05
3
1,333 Views
Last Modified: 2009-12-16
I've got gridviews in panels with scroll vertical.  I scroll down below the immediately visible rows and select a row.  The screen refreshes and the gridview repositions to the top, and the selected row has to be scrolled down to again, in order to see what was selected.

What are some ways to get the panel to not reset scroll position to the top on page submit?  I've done this with JS but it was a while ago and it seemed to be customized per gridview (had to find a particular field, etc.)  I've also seen a "generic" JS tool, but it seemed very IE centric.  Is there something that's built into ASP.NET for this?

Any help with this would be appreciated.

Thanks!
0
Comment
Question by:codequest
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
craskin earned 500 total points
ID: 18860056
you could look into using microsoft ajax implementation for asp.net

www.asp.net/ajax
0
 
LVL 2

Author Comment

by:codequest
ID: 18860969
Thanks for the input.  Unfortunately, I'm out of slack to absorb new technologies;  MS and my dev cycles didn't sync for AJAX on this release.
0
 
LVL 2

Author Comment

by:codequest
ID: 19034415
Ajax was a reasonable answer, and none other appeared, so I'm awarding points on that.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now