public void Report()
        {
            string selectedServer = "";

            /*
             * if (this.ServerListFilterComboBox.SelectedIndex >= 0)
             * {
             *  selectedServer = this.ServerListFilterComboBox.SelectedItem.Value.ToString();
             * }
             */
            if (this.ServerListFilterListBox.SelectedItems.Count > 0)
            {
                selectedServer = "";
                for (int i = 0; i < this.ServerListFilterListBox.SelectedItems.Count; i++)
                {
                    selectedServer += "'" + this.ServerListFilterListBox.SelectedItems[i].Text + "'" + ",";
                }
                try
                {
                    selectedServer = selectedServer.Substring(0, selectedServer.Length - 1);
                }
                catch
                {
                    selectedServer = "";     // throw ex;
                }
                finally { }
            }
            //2/2/2015 NS added for VSPLUS-1370
            if (this.ServerTypeFilterListBox.SelectedItems.Count > 0)
            {
                selectedType = "";
                for (int i = 0; i < this.ServerTypeFilterListBox.SelectedItems.Count; i++)
                {
                    selectedType += "'" + this.ServerTypeFilterListBox.SelectedItems[i].Text + "'" + ",";
                }
                try
                {
                    selectedType = selectedType.Substring(0, selectedType.Length - 1);
                }
                catch
                {
                    selectedType = "";     // throw ex;
                }
                finally { }
            }
            DashboardReports.DeviceHourlyOnTargetPctXtraRpt report = new DashboardReports.DeviceHourlyOnTargetPctXtraRpt();
            //report.Parameters["DateVal"].Value = dt;
            report.Parameters["ServerName"].Value = selectedServer;
            //2/2/2015 NS added for VSPLUS-1370
            report.Parameters["ServerType"].Value = selectedType;
            this.ReportViewer1.Report             = report;
            this.ReportViewer1.DataBind();
        }
 protected void ServerListResetButton_Click(object sender, EventArgs e)
 {
     //this.ServerListFilterComboBox.SelectedIndex = -1;
     this.ServerListFilterListBox.UnselectAll();
     //2/2/2015 NS added for VSPLUS-1370
     this.ServerTypeFilterListBox.UnselectAll();
     fillcombo("");
     DashboardReports.DeviceHourlyOnTargetPctXtraRpt report = new DashboardReports.DeviceHourlyOnTargetPctXtraRpt();
     report.Parameters["ServerName"].Value = "";
     report.Parameters["ServerType"].Value = "";
     this.ReportViewer1.Report             = report;
     this.ReportViewer1.DataBind();
 }