Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Tree Node Images are dissappearing during scrolling
posted

I am using version 8.3.20083.1009.

I am loading the tree using the basic following method:

ultraTree1.ImageList = _imgs; // _imgs is ImageList previously loaded with about 3500 images.

UltraTreeNode node = new UltraTreeNode(key, title);
node.LeftImages.Add(3);
node.LeftImages.Add(3001);
ultraTree1.Nodes.Add(node);

I first noticed the issue when I had as few as 400 nodes in the tree.  Watch memory usage (I am using Process Explorer) while you scroll (via paging). As you scroll memory usage for the test application quickly builds from about 45 MB to 1.5 GB and then gets collected back down to 45MB. While the memory is at its highest point the images in the visible nodes dissappear. They remain gone until you take enough scrolling actions to trigger a memory collection back down to 45MB then they reappear.

Is this a known issue? Is there a workaround other than triggering garbage collection everytime I scroll? Is there something I might be doing wrong to cause this? I am just loading up the tree as described about and scrolling. I verified that the memory does not climb upwards unless I perform a scroll action.

Thanks.

Parents Reply Children
No Data