Hi All,

I found this great article on maintaining scroll position

http://www.codeguru.com/csharp/.net/...le.php/c12869/

It works a treat if your not using master pages, but with a master page, it seems not to work. The reason being it wants to place an onload event in the <body> section, but of course there is no <body> section in the pages that use a master page.

I thought I'd be smart and place it in the master page <body> but this didn't work, presumably because the masterpage isn't getting posted back.

Anybody have any ideas how to maintain the scroll position when the treeview is in a container control where the page has a master page?

ASP 2.0