コード例 #1
0
        public void OpenReport(WebReportManager webReportManager, StorageValues storageValues, string format, string culture, string backPath, string textOfBackPath, string command)
        {
            var guid = ReportManagerControl.SetSession(storageValues, webReportManager);

            HttpContext.Current.Response.Redirect(
                string.Format(
                    "{7}?reportName={0}&rs:command={4}&rs:format={5}&values={1}&text={2}&culture={6}&backPath={3}",
                    GetType().FullName, guid, textOfBackPath, backPath, command, format, culture, this.RedirectUrl));
        }
コード例 #2
0
        private void ShowReport()
        {
            Form reportForm = new Form();

            ReportManagerControl control = new ReportManagerControl();

            control.StateNotifyer   = _ApplicationStateChangeNotifyer;
            control.MessageNotifyer = _ApplicationMessageNotifyer;
            AddControl(control, ApplicationController.State.Report);
        }