1 //跳转新页面 2 lnkEdit.Attributes["href"] = string.Format("FeeTypeAddEdit.aspx?FeeTypeId={0}&ReturnCurrentPage={1}", feeType.FeeTypeId, this.pageControl.CurrentPage); 3 4 5 //打开新窗口 6 string strViewerUrl = string.Format("FeeTypeViewer.aspx?FeeTypeId={0}", feeType.FeeTypeId); 7 lnkView.OnClientClick = string.Format("javascript:OpenPopup(‘{0}‘, 900, 550); return false;", strViewerUrl); 8 9 //新页面取值 10 string strReturnCurrentPage = HttpContext.Current.Request.QueryString["ReturnCurrentPage"]; 11 12 //新页面将请求重定向到新 URL 并指定该新 URL 13 string url = "FeeTypeList.aspx?CurrentPage=" + strReturnCurrentPage; 14 Response.Redirect(url);
时间: 2024-11-11 07:24:21