Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1945
Problem with DataVirtualization
posted

Hi

I'm binding a virtualized collection (from the site: http://www.codeproject.com/Articles/34405/WPF-Data-Virtualization) to the XamComboEditor. However I'm getting an error, the stacktrace:

   bei System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   bei Infragistics.Controls.Editors.ComboEditorBase`2.SearchAndFilterItemsByText(String text, Boolean performAutoComplete)
   bei Infragistics.Controls.Editors.ComboEditorBase`2.ProcessEditorText(Boolean allowDropDown, Boolean attemptAutoComplete)
   bei Infragistics.Controls.Editors.ComboEditorBase`2.DelayTracker_Tick(Object sender, EventArgs e)
   bei System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
   bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)

I can see that it tries to take the first element which I assume this happens before the list is filled using data virtualization technique. Is there a way to override this combo editor process?