The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
VKVishnu Kumar Syncfusion Team January 11, 2008 01:37 PM UTC
Hi Faleh,
Thank you for posting your query to us.
Treeview takes much time to load 400 nodes
You can use load on demand TreeView to bind the large number of node in TreeView. This will bind the child nodes dynamically when the parent node expands and this will optimize the time.
Also I have created a simple sample for LoadOnDemand and it is available in the following link:
Please try running the above sample and let me know if this helps.
Regards, Vishnu
FAFalehJanuary 11, 2008 03:39 PM UTC
the 400 nodes are on the same level
so it takes too long time even though on expand mode server side callback !!
the load on demand solution doesnt help !!
VKVishnu Kumar Syncfusion Team January 17, 2008 11:38 AM UTC
Hi Faleh,
Thank you for your patience. Treeview takes much time to load 400 nodes
I am afraid that I was not able to reproduce the issue. Treeview takes only 5 to 6 seconds to load all the nodes. Also I have created a simple sample to test this issue and it is available in the following link.
Please have a look at the above sample and if still it takes more time to loads, could you please try reproducing it in the above sample and send us modified sample so that we could sort out the cause of the issue and provide you a solution?
Regards, Vishnu.
FAFalehJanuary 17, 2008 02:04 PM UTC
I apologize, but your sample page, take approximately 1 a minute for it to be loaded. Maybe in localhost it takes from 5 to 6 seconds. Is the rate of internet somewhat responsible ?
PGPierre-Alain GaltierJanuary 17, 2008 03:15 PM UTC
Hi Faleh,
Perhaps you souhld look at the source code of the generated html (apsx) page.
And see how many ko it takes.
I have the same problem with my treeview and dont know yet how to optimize it
PGPierre-Alain GaltierJanuary 17, 2008 03:31 PM UTC
What's more,
Here is an HTML output of a treeview with 2 nodes (8 KB !!!) :
I think if some clients scripts could be deleted (onclick ...) and urls of lines images could be shorter (pick them up in a directory ?) on all nodes, the size could be 2 or 3 times lighter.
But I don't know if it can be done ?
Best Regards,
SCHAEFFER Christophe
VKVishnu Kumar Syncfusion Team January 22, 2008 12:33 PM UTC
Hi Christophe,
I regret for the delayed response.
Tree view takes much time to load 400 nodes:
I am able to see the issue of that the source code of the generated html(aspx) page is large in browser. But I regret to let you know that with our current implementation of treeview, the styles and treeview definition are sent to the browser along with other details. We have notified our development team on this regard and will get back to you once we hear back from them.