返回锁定位置、点击返回按钮后跳转到指定位置


page:





  controller:

protected void Page_Load(object sender, EventArgs e)
        {

            if (!IsPostBack)
            {
               
                Sessioninfo();
            }
           
        }
  private void Sessioninfo()
        {
            if (Session["searchText"] != null)
                searchTextlab.Text = Session["searchText"].ToString();
        }
 protected void gridYearBidDetailed_RowCommand(object sender, GridViewCommandEventArgs e)
        {
		 switch (e.CommandName)
            {
                case "info":
				
				  searchTextlab.Text = "";
                    Session.Add("searchText", BiddingNo);
                    Response.Redirect(EditUrl("a", a, "page"));
                    break;
		
		
		}
		
		 protected void bnck_click(object sender, EventArgs e)
        {
           
            searchTextlab.Text = "";
            Session.Remove("searchText");
            FillUI();
        }
			
			

--
C