protected void Page_Load(object sender, System.EventArgs e) { _tabView = (FI.UI.Web.Controls.Tabs.TabView) this.FindControl("TvC"); _sliceControl = (FI.UI.Web.OlapReport.SliceControl) this.FindControl("SlC"); _selControl = (FI.UI.Web.OlapReport.SelectControl) this.FindControl("SeC"); _execControl = (FI.UI.Web.OlapReport.ExecuteControl) this.FindControl("ExC"); _propControl = (FI.UI.Web.OlapReport.ReportPropertiesControl) this.FindControl("RPrC"); _sliceControl._report = _report; _selControl._report = _report; _execControl._report = _report; _execControl.ForceExecute = false; _propControl._report = _report; if (_report.SharingStatus == Report.SharingEnum.InheriteSubscriber || _report.SharingStatus == Report.SharingEnum.SnapshotSubscriber) { _propControl.Visible = false; } }
protected void Page_Load(object sender, System.EventArgs e) { _tabView=(FI.UI.Web.Controls.Tabs.TabView)this.FindControl("TvC"); _sliceControl=(FI.UI.Web.OlapReport.SliceControl)this.FindControl("SlC"); _selControl=(FI.UI.Web.OlapReport.SelectControl)this.FindControl("SeC"); _execControl=(FI.UI.Web.OlapReport.ExecuteControl)this.FindControl("ExC"); _propControl=(FI.UI.Web.OlapReport.ReportPropertiesControl)this.FindControl("RPrC"); _sliceControl._report=_report; _selControl._report=_report; _execControl._report=_report; _execControl.ForceExecute=false; _propControl._report=_report; if(_report.SharingStatus==Report.SharingEnum.InheriteSubscriber || _report.SharingStatus==Report.SharingEnum.SnapshotSubscriber) _propControl.Visible=false; _contr = new Controller(_report, this); }