TreeView / Page Load Time Issue

C

Chris

Hi Folks-

I'm using a treeview to display a table of contents for a book. There
are chapters, subchapters, sub-sub chapters, etc. Since there are a
few levels, I've set up threads to handle chunks of the list, and this
works well to get around the whole nested loop (foreach) problem when
building a treeview. My problem is, for books with large amounts of
chapters (one book has 71, for example), the page load time is
horrendous. I've disabled as much viewstate stuff as I can, and
that's helped, but it's still slow. Does anyone have any suggestions
on how I can trim down the amount of junk in the html source?
 
C

Cowboy \(Gregory A. Beamer\)

One possible option is only loading the top end nodes with initial load and
then AJAXing the rest of the tree, which will allow painting without getting
rid of the page content the person is viewing (still slow, but misdirected
like any good magician ;->). I would also consider looking at sites that do
this (try the free trials) like Books 24x7 and Safari. View source may give
you some clues.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top