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
Hello dufour01,
Thank you for contacting Infragistics!
I may need more information from you.
If possible please share the code associated with the WebDataTree together with your reply.
I attached my source code
Thank you for the code.
One way to handle orphan node on refresh would be to remove the tree's nodes, and recreate.
If you have any questions, please let me know as well.
I tried to explicitely do a node.Remove()
on refresh for each node (in place of tree.nodes.clear())
But still have orphan-nodes
I made some more test.
I find that the problem of orphan node appaear only when my datatree is on updatepanel ...
Hello dufur01,
Thank you for the information.
You may set WebDatatTree's EnableAjax to false if it is wrapped within an UpdatePanel.
I am just following up and see if you have any questions
At the moment, I am not able to reproduce the behavior. I am attaching a sample using a WebDataTree within an Update Panel. Please let me know if the sample demonstrates the behavior on your end or otherwise.
In addition, please let me know the browser you are using.
No, always orphan-nodes ...
Let us set the ChilcdrenAsTrigger to false. If you have any questions, please let me know as well.
any news ?
Can you reproduce my problem ?