Click here to Skip to main content
15,886,823 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
In my project, there is a page which has about 10-15 controls and, 3 tree views. It takes a lot of time to load as there is lot of logical checking required. How can I increase its speed (any method, code or database)? Please suggest some measures.

For eg: Every time the page loads, it checks whether the user is allowed to access that page or not. What controls he can access? The tree views are also binded based on the user access only.

On the loading of each controls, it again and again goes to fetch data. How can it be minimized?
Posted
Updated 29-May-12 3:32am
v2

You have provided far too few information. As there are many hot spots where a performance optimization could be applied, you have to think about every major aspect of your application, and try to find appropriate optimization steps. Google will be your friend. First of all, read these:
10 ASP.NET Performance and Scalability Secrets[^]
http://msdn.microsoft.com/en-us/library/ff647787.aspx[^]
http://msdn.microsoft.com/en-us/magazine/cc163854.aspx[^]
http://www.aspnet101.com/2010/03/50-tips-to-boost-asp-net-performance-part-i/[^]
 
Share this answer
 
In my point of view it is better to use menu instead of treeview and bind data in code behind.
This may help you
http://www.mathachew.com/sandbox/collapsible-menu/[^]
 
Share this answer
 

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