Solved

Gridview scrollintoview - in ASP.NET?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
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…

932 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

11 Experts available now in Live!

Get 1:1 Help Now