I was working on a page where I wanted a list of people on the left and the details for the selected person on the right. The list was inside a scrolling div so they'd be able to scroll the list to find the individual. Everything was wrapped in an UpdatePanel and I had everything set up right. However, when a postback occurred -- boom -- back to the top of the div.
My solution was two UpdatePanels. One inside my scrolling div and the other holding the DetailsView. The UpdateMode is set to Always for both so when the update fires in one, it also fires in the other. Since UpdatePanel is inside the scolling div, the div (and its current scroll position don't update).
Viola, a scrolling div that maintains position without any code.