Speed up Loading of asp.net site when creating Menu / treeview

Hi I am new to as but have built an asp.net website which I am happy with. The only problem is the time it takes to load the pages. I have a large menu/treeview which I think is where the delay is. Its only a few secs per page but this could be too much for customers.

I know i already use if not postback. Is there anything elese you could suggest. I do use the isActive with in the menu.
LVL 3
taz8020Asked:
Who is Participating?
 
CodeCruiserCommented:
Wow. That's a big menu. Is using frames an option? The site is not slow in my experience. One option is to build an array and then store it in application

http://support.microsoft.com/kb/309018
0
 
CodeCruiserCommented:
One option is to render the page without menu and then delay load the menu. Now there are many techniques for delay loading such as using JQuery to download the html of the menu and inject it into DOM after rest of the page has loaded.
0
 
taz8020Author Commented:
Ok I like the sound of this, I was thinking of trying to store it in a cookie so save time on other pages. But wauld cause a problem with the selected menu item.

Do you have any code examples to point me in the right direction?
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
CodeCruiserCommented:
>I was thinking of trying to store it in a cookie
Store the whole menu in cookie?
0
 
taz8020Author Commented:
Yes i have never tried but a website was saying it was a good idea to store it in a cookie. If not please explain about the JQuery
0
 
taz8020Author Commented:
I have just read that JQuery is not suported on many browsers. Is there another way that is more compatible?
0
 
CodeCruiserCommented:
Is the menu on the left or top? Can you show a screenshot?
0
 
taz8020Author Commented:
HI CodeCruiser, if i give you a link to the test site you will see what I mean. Its on the left and populates from the database.  The link is http://advantau.w03.winhost.com/

Thanks in advance.
0
 
taz8020Author Commented:
Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.