Solved

Gridview scrollintoview - in ASP.NET?

Posted on 2007-04-05
3
1,358 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 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