protected void lnkLeftPanelSectionNew_Click(object sender, EventArgs e) { // Get the full path of the current session's report definition file. string fileName = HttpContext.Current.Session["ReportDefinition"].ToString(); // Create a new report definition by the file. ReportDefinition reportDefinition = new ReportDefinition( Global.Core, fileName, Global.HierarchyFilters[fileName] ); // Clear the report definition. reportDefinition.Clear(); // Clear the data check entries. DataCheck dataCheck = new DataCheck(fileName); dataCheck.Clear(); // Self redirect to display clear crosstable. Response.Redirect( Request.Url.ToString() ); }