Solved

maintain scroll position using AJAX accordion control

Posted on 2008-06-14
1
1,204 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …

828 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