Maintain scroll position on postback does not work when files are deployed to remote server

K

Keithb

The maintain scroll position on postback feature works as expected with my
site running under localhost on the development machine. When the files are
posted to an IIS 6.0 web server running on a Win2k3 box, maintain scroll
position on postback simply does not work.

The Page_Load event handler in my aspx page has:

Page.MaintainScrollPositionOnPostBack = true;


The Page_Load event handler in the UserControl has:

Page.SetFocus(Grid);
Page.MaintainScrollPositionOnPostBack = true;

The web.config file has:

<pages theme="BTMDefault" maintainScrollPositionOnPostBack="true"
smartNavigation="false"/>

What could be the cause of this problem?

Thanks,

Keith
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top