473,498 Members | 1,992 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

TreeView / Page Load Time Issue

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?
Sep 17 '08 #1
1 1403
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.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"Chris" <co*****@gmail.comwrote in message
news:ca**********************************@73g2000h sx.googlegroups.com...
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?
Sep 17 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3875
by: DKode | last post by:
Ok, I am creating a directory browsing app and am using the obout.com TreeView control. This is exactly what I was looking for, as of right now my code is quite sloppy and I plan on cleaning it...
0
2464
by: MarkD | last post by:
I have an ASP.NET (VB.NET) application that calls all VB6 COM DLL via Interop. The DLL uses functionality contained in a Custom OCX Control (Also VB6) that in turn contains a standard TreeView...
2
2662
by: Benny Raymond | last post by:
Does anyone know what causes a treeview to sometimes start with a horizontal scrollbar that has no reason to be there, and will not go away until you size into the nodes and then back out? ...
2
1768
by: damiensawyer | last post by:
Hello all, I'm wondering if someone can help me with an issue. I have a master page that has a treeview control on it (inside an ascx file). Also on the master page I have a content...
1
693
by: kvicky | last post by:
I am trying to load child nodes to a TreeNode in a TreeView in a ASP.net web application. The Treeview with parent nodes are loaded on a Page_load while doing if( ! ISPostback ) and then in the...
8
12724
by: Matt MacDonald | last post by:
Hi All, I have a form that displays hierarchical categories in a treeview. Ok so far so good. What I was to do is have users be able to select a node in the treeview as part of filling out the...
3
4729
by: Bishop | last post by:
I have a treeview in my master page. It's built off a sql table that looks like this: TreeID, Name, ParentID 1,shoes,0 2,boots,0 3,slippers,0 4,shoe laces, 1 5, shoe soles, 1 6, boot laces,...
1
3574
by: Nikron | last post by:
Hi, I'm having an issue with the ASP.NET 2.0 Treeview control and persisting its' state accross requests. My Control is embedded within a master page and is used for site navigation. My problem...
2
5232
by: =?Utf-8?B?QU5V?= | last post by:
I have a tree view which i load completely at the time of my webpage load. When i click on the + signs of the parent nodes, it expands to show all of its children. Similarly, when i click on the...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7203
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6885
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4908
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4588
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3081
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1417
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.