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
20
XamWebGrid, problem with filters & ObservableCollection<T>
posted

Hi Guys,

We are evaluating your grid for a new project.

Problem 1

If you are typing into the FilterRowControl as an item is added to the underlying ObservableCollection the FilterRowControl looses focus.

Problem 2

If you click in the FilterRowControl at the same time as an item is added to the underlying ObservableCollection an excetion is thrown.

System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at Infragistics.Silverlight.Controls.XamWebGrid.EnterEditModeInternal(Row row, Cell cell)
at Infragistics.Silverlight.Controls.XamWebGrid.EnterEditMode(CellBase cell)
at Infragistics.Silverlight.Controls.Cell.OnCellDoubleClick()
at Infragistics.Silverlight.Controls.XamWebGrid.c(Object A_0, MouseButtonEventArgs A_1)
at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

Parents Reply Children
No Data