Rad Pane takes long time to load.

2 posts, 1 answers
  1. Nivid
    Nivid  avatar
    14 posts
    Member since:
    Jun 2012

    Posted 17 Dec 2012 Link to this post

    I have a user control which is just a RadGrid. But the grid is huge where it has 50 columns and for rows i guess not much but 100 rows  and the issue is the same for 20 rows. Where i change the main content or show and hide or drag out and drag it back in it takes a long time and makes pauses while docking or docking out. 


    Is there any way i can reduce this pause or any workaround for this issue.
  2. Answer
    Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 20 Dec 2012 Link to this post

    Hello Nivid,

    The first thing that comes to my mind is that 50 columns with 100 rows are 5000 cells and if you have a lot of visible cells (cells are small or the pane is big) or you placed the RadGridView into a StackPanel or other panel that breaks its virtualization, it is normal to take a long time for WPF to lay out all these cells.

    Another possible reason for the delay is if you are binding the ItemsSource of the RadGridView to the DataContext of the pane.

    If you could give more details about the case you have and eventually a sample project reproducing the problem, this would be of great help for us.

    All the best,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top