Solved

maintain scroll position using AJAX accordion control

Posted on 2008-06-14
1
1,208 Views
Last Modified: 2012-05-05
I'm using an accordion control on my page and I noticed that when I click to open a pane, the scroll position on the page is not maintained.  It jumps to the top of the page.

I set the page property: Still the scroll position is not maintained when I click the link to open the accordion pane?
MaintainScrollPositionOnPostback="true"

Still the scroll position is not maintained when I click the link to open the accordion pane?

How can I maintain the scroll position using the accordion control?

http://www.compasslearning.com/News/Conferences.aspx#

Thanks in advance for any help.
0
Comment
Question by:-Dman100-
1 Comment
 
LVL 30

Accepted Solution

by:
third earned 500 total points
ID: 21785654
on your details links, add an onclick attribute and set it to return false. the generated code should become

<a href="#" onclick="return false;">[Details]</a>
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
Check number of row prior to displaying gridview 10 72
Iteration Help (Asp.net VB) 5 35
edit .asp files 5 44
What are the simplest ways to create a Merge Sort? 3 34
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on 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.
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 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