Hi,
I am using Telerik Treeview Control. I have 4000 sub nodes under a main node. its taking so much time in page load (approx 10 minutes). After loading of the page, I am trying to Check the Checkbox of the main node its getting hang my system. there is no response till one hours or more & finally I had to close the window.
Rather this when I am trying any single node(which do not have any child node) its taking 5-8 seconds to check the checkbox after click on that. Please Suggess the soultion. the code is here underneath.
===============================================
function UpdateAllChildren(nodes, checked)
{
var i;
for (i=0; i<nodes.length; i++)
{
if (checked)
{
nodes[i].Check();
s=nodes[i].value;
}
else
nodes[i].UnCheck();
if (nodes[i].Nodes.length > 0)
UpdateAllChildren(nodes[i].Nodes, checked);
}
}
==================================================
This above function is being calling while pressing any checkbox on the tree node.
Suresh Dev