页面回发(PostBack)后,滚动条位置保持不变

在页面后台代码的Page_Load事件中,添加如下代码:       
this.Page.MaintainScrollPositionOnPostBack = true;
上面的代码在.net1.1中等价于

this.Page.SmartNavigation = true;

原文地址:https://www.cnblogs.com/liuhaitao/p/1350549.html