private void btnSave_Click(object sender, System.EventArgs e) { try { this._propControl.UpdateReportHeader(); _report.SaveHeader(); _report.Mdx = this.txtMdx.Text; _report.SaveState(); } catch (Exception exc) { this.ShowException(exc); } }
private void RedirectToReport() { if (_report.IsSelected == false) { _report.IsSelected = true; _report.SaveHeader(); } Session["Report"] = _report; // edit or run if (_action == "Open" && FI.Common.AppConfig.ReportRunOnClick) { Response.Redirect(Request.ApplicationPath + "/MdxReport/Table.aspx", true); } else { Response.Redirect(Request.ApplicationPath + "/MdxReport/Design.aspx", true); } }