Solved

Gridview scrollintoview - in ASP.NET?

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
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…

776 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