MaintainScrollPositionOnPostBack 页面的这个属性设为true后没起作用

解决方法:

 

 

 

  protected void btnAdd_Click(object sender, EventArgs e)
        {

 

  this.Page.ClientScript.RegisterStartupScript(this.GetType(), "aa", ScriptHelper.GetViewControlScript  (btnAdd.ClientID)); ; 

}


本文转载:CSDN博客