Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Gridview scrollintoview - in ASP.NET?

Posted on 2007-04-05
3
Medium Priority
?
1,405 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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 article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

927 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