记录一个方法
protected override void OnPreRenderComplete(EventArgs e)
{
ScriptManager.RegisterStartupScript(UpdatePanel1, typeof(UpdatePanel), "returntop", "setTimeout(\"window.location.hash='top1'\",500);", true);
}
{
ScriptManager.RegisterStartupScript(UpdatePanel1, typeof(UpdatePanel), "returntop", "setTimeout(\"window.location.hash='top1'\",500);", true);
}