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

Slow ItemsSource and DataView assignment

3 Answers 133 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Juan Lopera
Top achievements
Rank 1
Juan Lopera asked on 13 Aug 2012, 11:15 PM
Hi,
We have an usercontrol that it used to generate several different grids in a same window.
We noticed that when we have 2 or more grids  in a window, the load time begins grow and the performance drops.

Our control uses a DataTable to generate the data because each grid could have different number of columns, here is the way we make the assignment:

dataGrid.ItemsSource = data.DefaultView;

Our problem its related with this line, because this operation its taking between 150 and 200 milliseconds, that seems good for a single grid, but when we have several of this it could take more than a second or two to load a window, which is not acceptable for our customer.

It's there a way to improve this?

Just in case, we are taking in care your tips and tricks help topic
We are using the 2011 Q3 telerik version.

Thanks!

3 Answers, 1 is accepted

Sort by
0
Gerardo
Top achievements
Rank 1
answered on 20 Nov 2012, 10:53 AM
Hello, I have the same problem. It´s incredible that this issue hasn´t any response.  
Could someone help us?
Thanks.
0
Richard
Top achievements
Rank 1
answered on 14 Jan 2015, 09:55 PM
Same issue. Any ideas out there? I've tried everything that Telerik offers to date with immeasurably small time improvement. I'm thinking we need to move to MVVM and use a dependancy property.
0
Dimitrina
Telerik team
answered on 15 Jan 2015, 12:52 PM
Hello,

You can also try disabling the validation mechanism of RadGridView. Please check the following article in our online documentation for more details.
In general, I would suggest you to go through the Degraded Performance and Grouped Scenario help articles suggesting on how you could improve the performance of the control. 

Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
GridView
Asked by
Juan Lopera
Top achievements
Rank 1
Answers by
Gerardo
Top achievements
Rank 1
Richard
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or