private void PopulateItemList()
 {
     var issue = new Issue();
     issue.GetDisptachConfirmationStatus(Convert.ToInt32(lkAccountTree.EditValue), Convert.ToInt32(lkWarehouse.EditValue));
     if (chkShowDispatched.Checked)
     {
         gridItemsView.ActiveFilterString = string.Format("[DispatchConfirmed]='True'");
     }
     else if (!chkShowDispatched.Checked)
     {
         //issue.GetDisptachConfirmationStatus(Convert.ToInt32(lkAccount.EditValue), Convert.ToInt32(lkWarehouse.EditValue));
         gridViewControl.DataSource = issue.DefaultView;
     }
 }