コード例 #1
0
 public void ShowAllClientsView()
 {
     AllClientsFilter.Visible      = true;
     UpdateButton.Visible          = true;
     DatePicker.EnableAutoPostBack = false;
     ReportPanel.ConfigureGridColumns();
 }
コード例 #2
0
 public void ShowClientView()
 {
     Master.ShowReportViewer();
     ReportPanel.ConfigureGridColumns();
     DatePicker.Update            += DatePickerUpdate;
     DatePicker.EnableAutoPostBack = true;
     UpdateButton.Visible          = false;
     AllClientsFilter.Visible      = false;
 }
コード例 #3
0
 public void ShowAllClientsView()
 {
     Master.ShowReportViewer();
     ReportPanel.ResetPaginationAndFocus();
     ReportPanel.ConfigureGridColumns();
     AllClientsFilter.Visible      = true;
     UpdateButton.Visible          = true;
     DatePicker.EnableAutoPostBack = false;
 }
コード例 #4
0
        protected override void ScopeChanged(object sender, EventArgs e)
        {
            base.ScopeChanged(sender, e);

            ReportPanel.ConfigureGridColumns();
            if (this.CurrentScope() == Scope.AllClientsScope)
            {
                HideReportContent();
            }
            else
            {
                LoadReport();
            }
        }
コード例 #5
0
        public void DisplayReport(TransactionReportBase report)
        {
            if (report != null)
            {
                this.DateViewedLiteral.Text = report.DateViewed.ToDateTimeString();
            }
            Master.ShowReportViewer();
            reportData.Visible = true;
            AllClientsReportHelpMessage.Visible = false;

            ReportPanel.ConfigureGridColumns();
            ReportPanel.ResetPaginationAndFocus();
            ReportPanel.Display((TransactionReport)report);
        }
コード例 #6
0
 public void ShowClientView()
 {
     parameterSelectorDiv.Visible = false;
     ReportPanel.ResetPaginationAndFocus();
     ReportPanel.ConfigureGridColumns();
 }
コード例 #7
0
 protected override void ScopeChanged(object sender, EventArgs e)
 {
     base.ScopeChanged(sender, e);
     ReportPanel.ConfigureGridColumns();
     presenter.ShowReport(this.CurrentScope(), true);
 }