Esempio n. 1
0
        protected void ClusterNameComboBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            string clustername = "";

            clustername = this.ClusterNameComboBox.SelectedItem.Value.ToString();
            DashboardReports.DBClusterXtraRpt report = new DashboardReports.DBClusterXtraRpt();
            report.Parameters["ClusterName"].Value = clustername;
            report.CreateDocument();
            ASPxDocumentViewer1.Report = report;
            ASPxDocumentViewer1.DataBind();
        }
Esempio n. 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                FillCombobox();
            }
            string clustername = "";

            //4/29/2015 NS modified for VSPLUS-1692
            if (ClusterNameComboBox.SelectedIndex != -1)
            {
                clustername = this.ClusterNameComboBox.SelectedItem.Value.ToString();
            }
            DashboardReports.DBClusterXtraRpt report = new DashboardReports.DBClusterXtraRpt();
            report.Parameters["ClusterName"].Value = clustername;
            report.CreateDocument();
            ASPxDocumentViewer1.Report = report;
            ASPxDocumentViewer1.DataBind();
        }