页面提交到服务端返回后保持滚动条位置不变


Warning: Undefined array key "HTTP_REFERER" in /www/wwwroot/prod/www.enjoyasp.net/wp-content/plugins/google-highlight/google-hilite.php on line 58

在Page指令中加入MaintainScrollPositionOnPostback=”true”属性即可:<%@ Page Language="C#" MaintainScrollPositionOnPostback="true">