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

[Solved] GridView crashes when scrolling and reloading

1 Answer 136 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris
Top achievements
Rank 1
Chris asked on 27 May 2009, 08:59 PM
Hi,

I'm running into an issue with the gridview.  I have been able to reproduce it with your sample code.

Change the CustomHierarchy.Example.cs file as follows:

Set the number of records to 50 in the following statement:

this

 

.radGridViewCustomHierarchy.ItemsSource = ExamplesDB.GetOrders().Take(18);

 


Then replace the RestoreButton_Click event as follows:  

this.radGridViewCustomHierarchy.ItemsSource = null;  (Essentially when there are no records the error occurs).

Run the example and when the data has loaded, press the scrollbar to scroll down.  Then press the Restore button (which should clear the grid).  The application crashes due to an index issue.

In my code, I have the grid bound to an Observable collection.

Thanks

Chris

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 30 May 2009, 04:22 PM
Hello Chris,
.
Thanks for reporting this. This is definitely a bug in RadGridView and I was able to reproduce it. A fix for this will be available in our next internal release.

Again thanks for pointing this out. I have update your Telerik points.

All the best,
Stefan Dobrev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Chris
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or