点击按钮刷新页面定位到当时的位置

方法一this 前台: spa <a id="s1" name="s1"></a> ip 后台:string ScriptManager.RegisterStartupScript(this, GetType(), "", "alert('成功!');location.href='AAA.aspx#s1'", true); io 方法二后台 若是锚点很差用,可使用 TextBox1.Focus()
相关文章
相关标签/搜索