I have a div within an aspx page with overflow set to auto. The contents of the div are dynamically created and consists of a list of link buttons.
<div id="div1" style="overflow: auto; height: 100%;">
.....
</div>
When I scoll down in the div and click on any of the link buttons, the page reload loses the scroll position inside the div and takes me to the top of the div. Is there any way to prevent that?
Note that this is for a div inside the page. Page.MaintainScrollPositionOnPostBack()
does not work.