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

GridView Perfomance in Canvas

4 Answers 129 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sergey
Top achievements
Rank 1
Sergey asked on 12 Feb 2013, 07:01 PM
Hello. I have big problem with gridView perfomance. I have my MDI container like - Grid->ScrollViewer -> Canvas. I add ContentControls to the canvas. ContenControls has next structure: Grid -> Grid -> RadBusyIndicator -> GridView. All grids has Height="*". I read next article - http://www.telerik.com/help/silverlight/gridview-troubleshooting-performance.html and I have question. Can ScrollViewer slow my GridView?

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 13 Feb 2013, 07:02 AM
Hi,

 Both Canvas and ScrollViewer will measure child UI elements with infinity height. In case of ItemsControls like ListBox, DataGrid, ListView, RadGridView, etc. this will force creation of all UI containers for all data items - no UI virtualization at all. 

Regards,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Sergey
Top achievements
Rank 1
answered on 15 Feb 2013, 05:37 AM
Does It mean that EnableColumnVirtualization = 'false' and EnableColumnVirtualization = 'true' will have the same result?

 

0
Vlad
Telerik team
answered on 15 Feb 2013, 07:30 AM
Hello,

 Indeed these properties will not have any effect when UI virtual component is measured with infinity  height/width. 

Regards,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Sergey
Top achievements
Rank 1
answered on 20 Feb 2013, 06:50 PM
Thanks, but I have big difference in perfomance when I set true or false. But my gridView is in ScrollView->Canvas->ContentControl. Does it mean that virtualization is working?
Tags
GridView
Asked by
Sergey
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Sergey
Top achievements
Rank 1
Share this question
or