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
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