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

Bad performance in RadGridView

1 Answer 56 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Centiro Developer
Top achievements
Rank 1
Centiro Developer asked on 03 May 2010, 02:15 PM
We have a solution in Silverlight 4 using MVVM pattern to bind data into a RadGridView. Almost regardless how many items I populated it with, from 10  to 200 it took about 5 seconds to render. Compared with the exact same binding in a standard DataGrid which took 0.5 second.

The problem turned out to be bound properties that did not excist. Our viewmodel was refactored and two out of 10 bound columns were incorrect. When replacing one of them, the time to render went down to 2.5s. After replacing the other property that wasn't present in the ViewModel the time became resonable, around 0.9 seconds.

The conclution I can make is that the error handling in RadGridView when binding to a non excisting property adds 2 seconds to the render process.

Could this be avoided by checking this property instead of handeling it via a silent exception being thrown?

Best regards,
Mattias Nykkel
Centiro

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 04 May 2010, 04:31 PM
Hi Mattias,

Thanks for your suggestion. We are currently looking into ways to remove these exceptions in the scenario you are talking about. Expect to see this included in one of our next latest internal builds.

Thanks again for your feedback. I have updated your Telerik points respectively.

Sincerely yours,
Stefan Dobrev
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
Centiro Developer
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or