页面刷新定位

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>

posted @ 2008-08-05 17:59  ant520  阅读(446)  评论(0编辑  收藏  举报