473,890 Members | 1,350 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Showing some sections of a page while others are still downloading

Hi,
We have a few rather heavy pages and would like to speed up the 'perceived'
download time by rendering some sections of the page which are ready to be
shown while sill awaiting other parts of the page (e.g. which rely on longer
retrieval from a database).

How would I go about doing this? We're using ASP.net 1.1..

Many thanks for any help or advise.
Andy
Jun 14 '06 #1
2 1041
how easy this is depends on the structure of your page. the browser parses
the html and renders it. for it to render before the structure is
downloaded, it must be simple. the parts you want display must be above
those you don't. don't dangle layout across sesctions. avoid tables, or
output the complete table. be sure to turn page buffering off, and do a
response.write of the completed sections.

you can use frames and bust the page into fast parts and slow parts. you
coudl also use an ajax approach, and have client script call back for the
slow parts and render the html.

-- bruce (sqlwork.com)

"Andy" <An**@discussio ns.microsoft.co m> wrote in message
news:8D******** *************** ***********@mic rosoft.com...
Hi,
We have a few rather heavy pages and would like to speed up the
'perceived'
download time by rendering some sections of the page which are ready to be
shown while sill awaiting other parts of the page (e.g. which rely on
longer
retrieval from a database).

How would I go about doing this? We're using ASP.net 1.1..

Many thanks for any help or advise.
Andy

Jun 14 '06 #2
Thanks for the reply Bruce.
Alas the pages are quite complex but I'll take on your recommendations and
give it a go.
Cheers!

"bruce barker (sqlwork.com)" wrote:
how easy this is depends on the structure of your page. the browser parses
the html and renders it. for it to render before the structure is
downloaded, it must be simple. the parts you want display must be above
those you don't. don't dangle layout across sesctions. avoid tables, or
output the complete table. be sure to turn page buffering off, and do a
response.write of the completed sections.

you can use frames and bust the page into fast parts and slow parts. you
coudl also use an ajax approach, and have client script call back for the
slow parts and render the html.

-- bruce (sqlwork.com)

"Andy" <An**@discussio ns.microsoft.co m> wrote in message
news:8D******** *************** ***********@mic rosoft.com...
Hi,
We have a few rather heavy pages and would like to speed up the
'perceived'
download time by rendering some sections of the page which are ready to be
shown while sill awaiting other parts of the page (e.g. which rely on
longer
retrieval from a database).

How would I go about doing this? We're using ASP.net 1.1..

Many thanks for any help or advise.
Andy


Jun 15 '06 #3

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

Similar topics

1
1574
by: alex | last post by:
Hello, everyone, Thank you in advance. My web application behavies like this: 1: in menu frame, user click any button, 2: the page is downloaded. 3: but the progress bar indicates the page is still in downloading, and it may take 10 seconds, and may not reach
5
1556
by: mt | last post by:
In a nutshell, I'd like to have a list of items, each of which fills out a small table which displays some info about a particular item(the items being a trouble ticket for a tech support ASP-built web-based app). There may be zero, one, or many of these per ticket. Since some tickets have many of these items (call them work items), the page can get awful long. I have this part working already. So my proposed solution to make the pages...
18
1711
by: ashkaan57 | last post by:
Hi, how can I hide / show a section of a page when a link is clicked? Click on "show section" would show the section and change the link to "hide section", clicking on "hide section" would hide it. TIA.
4
370
by: Wayne | last post by:
rr@kristin.school.nz (Wayne) wrote in message news:<7ec36840.0403301824.16f2cd9f@posting.google.com>... > I have a subreport in my report and when it contains exactly one row, > it works fine. In every other case, it displays all but the last row. > The subreport grows large enough to show this last row but leaves it > blank. > Can anyone shed some light on this for me? > Wayne Since posting the original message I have had no replies....
32
4189
by: James Curran | last post by:
I'd like to make the following proposal for a new feature for the C# language. I have no connection with the C# team at Microsoft. I'm posting it here to gather input to refine it, in an "open Source" manner, and in an attempt to build a ground-swell of support to convince the folks at Microsoft to add it. Proposal: "first:" "last:" sections in a "foreach" block The problem: The foreach statement allows iterating over all the...
6
3026
by: Tony K | last post by:
I have the most peculiar problem with an ASP.NET page which we use for downloading a file. When the user clicks on a link, the link points to an ASPX page which downloads the file selected. The code works fine except after the user saves the file, the links on the left side of the frameset do not work. IE locks up.
10
1636
by: Kathy Burke | last post by:
Hi, in trying to discover why my RegisterStartUpScript wouldn't work (I do NOT see it in the HTML source), I looked at the HTML source of a page where I do an XslTransform. First, I get the transform results as expected, beginning with <html> and ending with </html> but then I see the following immediately after that: <HTML> <HEAD>
1
1573
by: tskrish | last post by:
Hi, I'm building an intranet net application. All the users are in same domain and in same network. Now, whenever a user access my application it SHOULD show the window authentication login dialog box. I tried the below,
0
9979
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9823
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10827
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10463
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9637
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8017
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4681
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 we have to send another system
2
4275
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3281
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.