页面刷新定位

1.

.net 1.1

this.Page.SmartNavigation = true;

.net 2.0

this.Page.MaintainScrollPositionOnPostBack = true;

IE中让文本框刷新之后保持原值

<HTML>
<HEAD>
<META NAME="save" CONTENT="history">
  <STYLE>
    .saveHistory 
{behavior:url(#default#savehistory);}
</STYLE>
</HEAD>
<BODY>
<INPUT class=saveHistory type=text id=oPersistInput>
</BODY>
</HTML>

原文地址:https://www.cnblogs.com/ant520/p/1261288.html