Solved

maintain scroll position using AJAX accordion control

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
javascript call 6 35
Session / variables no longer available (PHP) 4 44
Problem to picture file 3 40
Adjust the position 3 7
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
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, …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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

20 Experts available now in Live!

Get 1:1 Help Now