Hello,
We have a memory problem with our website.
We have 3 DataTree update each minute with a timer.
To update, we make a DT.nodes.clear() and recreate all nodes.
But we see in firefox that there still exist orphan nodes, and after hours, that "crash" firefox
what is the best method to refresh the trees without effect of orphan nodes ?
thx
I set it to false, but still same problem
Hello dufur01,
Thank you for the information.
You may set WebDatatTree's EnableAjax to false if it is wrapped within an UpdatePanel.
If you have any questions, please let me know as well.
I made some more test.
I find that the problem of orphan node appaear only when my datatree is on updatepanel ...
I tried to explicitely do a node.Remove()
on refresh for each node (in place of tree.nodes.clear())
But still have orphan-nodes
Hello dufour01,
Thank you for the code.
One way to handle orphan node on refresh would be to remove the tree's nodes, and recreate.