GridView Perfomance in Canvas

5 posts, 0 answers
  1. Sergey
    Sergey avatar
    58 posts
    Member since:
    Jan 2013

    Posted 12 Feb 2013 Link to this post

    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?
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 13 Feb 2013 Link to this post

    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.

  3. Sergey
    Sergey avatar
    58 posts
    Member since:
    Jan 2013

    Posted 14 Feb 2013 Link to this post

    Does It mean that EnableColumnVirtualization = 'false' and EnableColumnVirtualization = 'true' will have the same result?

     

  4. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 15 Feb 2013 Link to this post

    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.

  5. Sergey
    Sergey avatar
    58 posts
    Member since:
    Jan 2013

    Posted 20 Feb 2013 Link to this post

    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?
Back to Top