private void SetupFilterBindings() { BindingCollection filterParameters = this.dataSource.FilterParameters; ClientControlBinding clientControlBinding = new ComponentBinding(this.dcStartDate, "value"); clientControlBinding.Name = "StartDate"; ClientControlBinding clientControlBinding2 = new ComponentBinding(this.dcEndDate, "value"); clientControlBinding2.Name = "EndDate"; filterParameters.Add(clientControlBinding); filterParameters.Add(clientControlBinding2); }
private void SetupFilterBindings() { BindingCollection filterParameters = this.listViewDataSource.FilterParameters; ClientControlBinding clientControlBinding = new ClientControlBinding(this.ddlDialPlan, "value"); clientControlBinding.Name = "UMDialPlan"; ClientControlBinding clientControlBinding2 = new ClientControlBinding(this.ddlGroupBy, "value"); clientControlBinding2.Name = "GroupBy"; ClientControlBinding clientControlBinding3 = new ClientControlBinding(this.ddlIPGateway, "value"); clientControlBinding3.Name = "UMIPGateway"; filterParameters.Add(clientControlBinding); filterParameters.Add(clientControlBinding2); filterParameters.Add(clientControlBinding3); }
protected override void OnLoad(EventArgs e) { base.OnLoad(e); BindingCollection filterParameters = this.listViewDataSource.FilterParameters; if (this.pickerUMMailboxToSearch != null) { filterParameters.Add(new ComponentBinding(this.pickerUMMailboxToSearch, "value") { Name = "Mailbox" }); } }
private void SetupFilterBindings() { BindingCollection filterParameters = this.messageTrackingsearchDataSource.FilterParameters; if (this.pickerMailboxToSearch != null) { filterParameters.Add(new ComponentBinding(this.pickerMailboxToSearch, "value") { Name = "Identity" }); } ClientControlBinding clientControlBinding = new ComponentBinding(this.fromAddress, "value"); clientControlBinding.Name = "Sender"; ClientControlBinding clientControlBinding2 = new ComponentBinding(this.toAddress, "value"); clientControlBinding2.Name = "Recipients"; ClientControlBinding clientControlBinding3 = new ClientControlBinding(this.subjectTextBox, "value"); clientControlBinding3.Name = "Subject"; filterParameters.Add(clientControlBinding); filterParameters.Add(clientControlBinding2); filterParameters.Add(clientControlBinding3); }