Beispiel #1
0
 protected void ResetButton_Click(object sender, EventArgs e)
 {
     ServerListBox.UnselectAll();
     DashboardReports.ExchangeUserCountXtraRpt report = new DashboardReports.ExchangeUserCountXtraRpt();
     report.Parameters["ServerName"].Value = "";
     ASPxDocumentViewer1.Report            = report;
     ASPxDocumentViewer1.DataBind();
 }
Beispiel #2
0
        private void FillListBox()
        {
            DataTable NotesDataTable = RestrServers();

            ServerListBox.DataSource = NotesDataTable;
            ServerListBox.TextField  = "ServerName";
            ServerListBox.ValueField = "ID";
            ServerListBox.DataBind();
        }
Beispiel #3
0
        public void fillServerListBox(string StatName)
        {
            DataTable dt = new DataTable();

            dt = VSWebBL.ReportsBL.XsdBL.Ins.GetServersListFromDominoDailyStats(StatName);

            ServerListBox.DataSource = dt;
            ServerListBox.TextField  = "ServerName";
            ServerListBox.ValueField = "ServerName";
            ServerListBox.DataBind();
        }
Beispiel #4
0
        public void fillcombo()
        {
            DataTable d = new DataTable();

            d = VSWebBL.ReportsBL.XsdBL.Ins.GetO365Server();

            ServerListBox.DataSource = d;
            ServerListBox.TextField  = "Server";
            ServerListBox.ValueField = "Server";
            ServerListBox.DataBind();
        }
Beispiel #5
0
        public void fillcombo(string sType)
        {
            DataTable d = new DataTable();
            //2/19/2016 Durga Added for VSPLUS 2174
            string StatName = "MemoryJava";

            d = VSWebBL.ReportsBL.XsdBL.Ins.getServersForTraveler(sType, StatName);
            ServerListBox.DataSource = d;
            ServerListBox.TextField  = "ServerName";
            ServerListBox.ValueField = "ServerName";
            ServerListBox.DataBind();
        }
Beispiel #6
0
        public void fillServerCombo()
        {
            DataTable d     = new DataTable();
            string    sType = "";
            string    uType = "";

            sType = RptTypeRadioButtonList.SelectedItem.Value.ToString();
            if (UserTypeComboBox.Items.Count > 0)
            {
                uType = UserTypeComboBox.SelectedItem.Value.ToString();
                d     = VSWebBL.ReportsBL.ReportsBL.Ins.GetMSServers(sType, uType);
                ServerListBox.DataSource = d;
                ServerListBox.TextField  = "ServerName";
                ServerListBox.ValueField = "ServerName";
                ServerListBox.DataBind();
            }
        }
        private void LoadServerList()
        {
            _config = controller.ConfigController.GetConfigurationCopy();

            ServerListBox.BeginUpdate();
            ServerListBox.Items.Clear();

            foreach (Server server in _config.servers)
            {
                ServerListBox.Items.Add(server.FriendlyName());
            }

            ServerListBox.EndUpdate();

            if (_selectedIndex >= 0 && _selectedIndex < ServerListBox.Items.Count)
            {
                ServerListBox.SelectedIndex = _selectedIndex;
            }
        }
Beispiel #8
0
        public void fillcombo(string sType)
        {
            DataTable d = new DataTable();

            //12/17/2013 NS modified
            //d = VSWebBL.ReportsBL.ReportsBL.Ins.getDominoSummaryStats();
            d = VSWebBL.ReportsBL.XsdBL.Ins.getServersForCPUUtil(sType);

            /*
             * ServerComboBox.DataSource = d;
             * ServerComboBox.TextField = "ServerName";
             * ServerComboBox.ValueField = "ServerName";
             * ServerComboBox.DataBind();
             */
            ServerListBox.DataSource = d;
            ServerListBox.TextField  = "ServerName";
            ServerListBox.ValueField = "ServerName";
            ServerListBox.DataBind();
        }