Hi, I have a RadTabControl with 5 tabs and one RadGridView on each tab.
When I switch the tab it takes1-2 seconds to show the grid on first time. After that, the tab switch is fast and the grid is shown accordingly.
I configured row and column virtualization, set widh and height to all the elements and followed your Tip and Tricks guide.
I was wondering how can I speed up the render on first time or, force the rendering on application startup.
If the grid is draw on background, I suppose that the first time I will switch a tab, it will be faster.
Then I can move the code to an attached property called RenderOnStartup.
Thank you.
Hello, I created an attached property that calls to measure and invalidate when the DataContext is attached. This method speeds up the first loading because the RadGridView was preloaded.
I have two issues:
1. It is not fast enough, there is still a delay of 1 second instead of 2 when I switch the tab until the RadGridView appears.
2. This work because the grid is empty. If the grid was preload with values (that may receive updates for properties every second) then it takes up to 4-5 seconds to show the grid. Again, only first time, aftee the rows are created I can switch the tabs without delay even if the items are updated every second. Consequently, I know that if I create the rows at the beginning, it will be faster.
How can I force to draw the rows even if they are not visible?? I don't care to have a background rendering.
I already configured the row/column virtualization and followed your tip akd tricks steps.
* I have 5 tabs with 5 grids