Please see the following scenario:
There is the structure:
----- Sub-folder 1
----- Sub-folder 2
----- Sub-folder 1000
So, we have folder with thousand sub-folders.
Clicking on the Folder A in tree-view side of File-Explorer, we will have the following steps:
1. ResolveRootDirectoryAsTree - execute one time for Folder A in grid (acceptable)
2. ResolveRootDirectoryAsTree - execute one time for Folder A in the tree-view (acceptable)
3. ResolveRootDirectoryAsTree - execute one thousand times, for each sub-folder in the tree-view (very slow)
As you can see, the step 3 is the cause of very slow loading.
Is there any way to avoid this behavior? Do you have any suggestion?
Maybe to try to disable expand of nodes if there is a very large amount of data under them? Only to populate a grid, as the Windows explorer does?
When i turn-off expanding of the tree-view nodes (args.set_cancel(true) on node clicking for test purpose) i have very good response. Because, there are only two executions of ResolveRootDirectoryAsTree method.
Am i missing something here?
I red the article "Setup virtual scrolling in the RadGrid embedded in RadFileExplorer", but i still have the tree-view issue.