Exemplo n.º 1
0
 protected void SubmitButton_Click(object sender, EventArgs e)
 {
     DashboardReports.ResponseTimeXtraRpt report = new DashboardReports.ResponseTimeXtraRpt();
     report.Parameters["TypeVal"].Value = TypeComboBox.SelectedItem.Text;
     report.CreateDocument();
     ASPxDocumentViewer1.Report = report;
     ASPxDocumentViewer1.DataBind();
 }
Exemplo n.º 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         FillCombobox();
     }
     report = new DashboardReports.ResponseTimeXtraRpt();
     report.Parameters["TypeVal"].Value = TypeComboBox.SelectedItem.Text;
     report.CreateDocument();
     ASPxDocumentViewer1.Report = report;
     ASPxDocumentViewer1.DataBind();
 }