This is a migrated thread and some comments may be shown as answers.

GridView Filtering error

1 Answer 33 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vyacheslav Diliger
Top achievements
Rank 1
Vyacheslav Diliger asked on 05 May 2011, 02:58 PM
Hi, all.

I have the next problem:

1. Load GridView and data
2. Click on column filter
3. Click on check box "Select All"
4. Click on check box "Select All" again
and got this exception and application crashes
   о System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   о System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   о System.Collections.Generic.List`1.Enumerator.MoveNext()
   о Telerik.Windows.Data.EnumerableExtensions.ElementAt(IEnumerable source, Int32 index)
   о Telerik.Windows.Data.QueryableCollectionView.InternalGetItemAt(Int32 index)
   о Telerik.Windows.Data.QueryableCollectionView.GetItemAt(Int32 index)
   о Telerik.Windows.Data.DataItemCollection.get_Item(Int32 index)
   о Telerik.Windows.Controls.GridView.GridViewItemContainerGenerator.Generator.GenerateNext(Boolean stopAtRealized, Boolean& isNewlyRealized)
   о Telerik.Windows.Controls.GridView.GridViewItemContainerGenerator.System.Windows.Controls.Primitives.IItemContainerGenerator.GenerateNext(Boolean& isNewlyRealized)
   о Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.MeasureOverride(Size constraint)
   о System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)

please see screenshots

P.S. But in other cases filter works fine

And another one important question:
why the radgrid becames busy after RowEditEnded ??

Many thanks for the help.

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 06 May 2011, 08:36 AM
Hello Vyacheslav Diliger,

That is weird.

Can you please attach a sample project that reproduces both this exception and the busy grid after RowEditEnded? We will debug it to see what is going on.

Thanks in advance.

Greetings,
Ross
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Vyacheslav Diliger
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or