protected void Year_Click(object sender, CommandEventArgs e) { SessionManager.removeSessionListItem("Years"); SessionManager.saveList(Session); UtilManager.SearchRedirectAction(Response, "search_application_status.aspx", "Year", ((LinkButton)sender).Text.Trim()); }
protected void Page_Load(object sender, EventArgs e) { Session.Add("CurrentPage", "STATUS"); SessionManager = new USTTISessionManager(Session); UtilManager = new USTTIUtil(); if (!Page.IsPostBack) { Session.Remove("SortExpression"); Session["OrderExpression"] = "DESC"; loadRequestData(); SessionManager.saveList(Session); BindData(); } loadConstraintData(); }
protected void Page_Load(object sender, EventArgs e) { string key = Request["key"].ToString(); string returnPage = Request["return"].ToString(); SessionManager = new USTTISessionManager(Session); USTTISessionCollection SessionList = SessionManager.getSessionList(); for (int i = 0; i < SessionList.Count; i++) { USTTISession app = (USTTISession)SessionList[i]; if (app.key == key) { SessionList.RemoveAt(i); } } SessionManager.saveList(Session); Response.Redirect(returnPage + ".aspx"); }