private void btnSearch_Click(object sender, RoutedEventArgs e) { if (ValidationManager.Validate(this.StackPanelCondition)) { this.queryRequest = EntityConverter <VendorQueryVM, ECCentral.QueryFilter.PO.VendorQueryFilter> .Convert(vendorQueryVM); QueryResultGrid.Bind(); } }
public override void OnPageLoad(object sender, EventArgs e) { base.OnPageLoad(sender, e); vendorQueryVM = new VendorQueryVM(); vendorFacade = new VendorFacade(this); queryRequest = new ECCentral.QueryFilter.PO.VendorQueryFilter(); BindComboBoxData(); this.DataContext = vendorQueryVM; SetAccessControl(); //this.cmbEPort.SelectedEPort = 0; }