Solved

maintain scroll position using AJAX accordion control

Posted on 2008-06-14
1
1,195 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
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 tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

777 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