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

Random errors in GridView

5 Answers 38 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Laura
Top achievements
Rank 1
Laura asked on 05 Oct 2009, 02:53 PM
Hello,

We've been seeing a couple of errors popping up with the Grid. One of them says something like "Count must be positive and count must refer to a location within the string/array/collection.  Parameter name : count." And another is about the "Index must be within range"...

I don't have steps to reproduce the issue; it seems to happen randomly, but when we do get the error, it's usually on load of the grid. Then we can reload and everything is fine until it happens again. It has happened during sort operations also.

Laura

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 05 Oct 2009, 03:27 PM
Hi Laura,

Please verify if the grid DataLoadMode is set to "Asynchronous" and if this is the case please remove this temporary to see what will be the result.

Regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Wil
Top achievements
Rank 1
answered on 05 Oct 2009, 04:57 PM
Vlad,

I'm also getting these random exceptions. Setting DataLoadMode = Synchronous seems to make them go away.  I am also binding to a list of 88 business objects.  The business object has 23 properties my grid is binding to.  The binding process is extremely slow.  After the items are bound it takes a really long time to sort the items if a column header is clicked.

Additionally, when I maximize the grid which starts up at 300x300 it takes around 5 or 6 seconds for the form to window to maximize.  If I use a WPF ListView I do not get this behavior.

Any help you can provide would be greatly appreciated.

Thank you,
Wil
0
Vlad
Telerik team
answered on 06 Oct 2009, 06:01 AM
Hi Wil,

We are aware of these problems caused by asynchronous BackgroundWorker and grouping and we are doing our best to resolve them as soon as possible. Please turn off DataLoadMode="Asynchronous" temporary to fix these.

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Wil
Top achievements
Rank 1
answered on 06 Oct 2009, 06:12 AM
Vlad,

Thanks for your reply.  It is unfortunate that there is not a better explanation.  Additionally I am disappointed in the performance of the RadGridView.  I think for now we'll look for an alternative to render the content until a stable build of the WPF controls is released.

Thanks again,
Wil
0
Vlad
Telerik team
answered on 06 Oct 2009, 06:21 AM
Hello Wil,

After two weeks we will release our Q3 Beta2 where you can find our new blazing fast RadGridView. We reworked completely the grid scrolling with container recycling, columns/cells virtualization, etc.

Sincerely yours,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Laura
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Wil
Top achievements
Rank 1
Share this question
or