private void LoadHeldUp() { SortableBindingList <RealTimeOccPositionObject> tmp = new SortableBindingList <RealTimeOccPositionObject>(); AllocationViewFactory avf = new AllocationViewFactory(); List <AllocationViewObject> heldUpReturns = new List <AllocationViewObject>(); AllocationViewParam avp = new AllocationViewParam(); tmp.Load(AllRealTimePositions); HeldUpRealTimePositions.Clear(); avp.HeldUp.AddParamValue(1); avf.Load(heldUpReturns, avp); //now remove the non Held Up positions foreach (RealTimeOccPositionObject rt in tmp) { if (heldUpReturns.Exists(av => av.Cusip == rt.Cusip)) { HeldUpRealTimePositions.Add(rt); } } HeldUpRealTimePositions.Sort("TradeCategory", ListSortDirection.Ascending); }