protected void ServerListResetButton_Click(object sender, EventArgs e) { this.ServerListFilterComboBox.SelectedIndex = -1; ConfiguratorReports.ServerListLocXtraRpt report = new ConfiguratorReports.ServerListLocXtraRpt(); report.Parameters["Location"].Value = ""; report.CreateDocument(); ASPxDocumentViewer1.Report = report; ASPxDocumentViewer1.DataBind(); }
protected void ServerListFilterComboBox_SelectedIndexChanged(object sender, EventArgs e) { string selectedServer = ""; if (this.ServerListFilterComboBox.SelectedIndex >= 0) { selectedServer = this.ServerListFilterComboBox.SelectedItem.Value.ToString(); } ConfiguratorReports.ServerListLocXtraRpt report = new ConfiguratorReports.ServerListLocXtraRpt(); report.Parameters["Location"].Value = selectedServer; report.CreateDocument(); ASPxDocumentViewer1.Report = report; ASPxDocumentViewer1.DataBind(); }