Click here to Skip to main content
15,030,320 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We've 1000 records in our Database table with 10Columns. During Page Load, i'm fetching all those records to frontend and showing those to the end user in a TreeView Format and in a single Page. For that i'm using "RadTreeView" Control. But the problem here is It's giving a performance issue. Page Response is becoming very slow. Earlier we used to get 400records from database. then it worked fine. but now when i'm trying to retrieve 1000records and showing them in a treeview format so here performance hit is raised.

Note: In page load we're calling a function and there we've a code to get the data from database.. Bringing data to Front end has No issues.. and coded using For Loops to display the records in a Treeview Format..

Not only in page load when im selecting Nodes then also Performance issue is raised.
Updated 10-Dec-15 0:43am

1 solution

The only way to speed it up is to not stuff the entire 1000 records into the tree.

You have to implement something where only the parts of the tree that are expanded by the user are filled in. This requires a round trip to the server every time the user clicks on a node in the tree.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900