473,471 Members | 1,900 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to show contents of a page at a once.

HI I have my home page which is contaiing more than 10 images. So on
calling that page it is shwing that images one by one on tht page.But
want to show all the images & content of page at a once. I have tried
using respose.buffer & response.flush() but it is not working.
So can anybody help me out.
Sachin.

Jan 30 '07 #1
3 1049
Pappu,
Response.Buffer etc. will not have an effect with ASP.NET as you are dealing
with a compiled, not interpreted language idiom.
Why not look into client-side javascript image "preloading" - there are
numerous examples you can find on a simple search.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"pappu" wrote:
HI I have my home page which is contaiing more than 10 images. So on
calling that page it is shwing that images one by one on tht page.But
want to show all the images & content of page at a once. I have tried
using respose.buffer & response.flush() but it is not working.
So can anybody help me out.
Sachin.

Jan 30 '07 #2
In your <img src="..."you need to add width and height of the image it's
going to show.
then browser will know the size upfront and will not do shifting.
Right now shifting happens because browser does not know images sizes until
it loads them. So it assumes some defaults and then adjust the screen once
image is loaded.
George.
"pappu" <gu*************@gmail.comwrote in message
news:11**********************@h3g2000cwc.googlegro ups.com...
HI I have my home page which is contaiing more than 10 images. So on
calling that page it is shwing that images one by one on tht page.But
want to show all the images & content of page at a once. I have tried
using respose.buffer & response.flush() but it is not working.
So can anybody help me out.
Sachin.

Jan 30 '07 #3
you read about html. the browser reads your page, and sees references to
other pages (images). it will start a download of the images as it finds
them (but generally it will only allow 2 downloads at a time).

to do want you want, is you render all content, but style it not to
display. then in client code on pageload, make it appear.

-- bruce (sqlwork.com)

pappu wrote:
HI I have my home page which is contaiing more than 10 images. So on
calling that page it is shwing that images one by one on tht page.But
want to show all the images & content of page at a once. I have tried
using respose.buffer & response.flush() but it is not working.
So can anybody help me out.
Sachin.
Jan 30 '07 #4

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

Similar topics

4
by: Brian | last post by:
Hi there I'm not so hot on JavaScript so not sure if this can be done. I have a PHP page that runs a MySQl query, while these queries are running I would like to show a message saying...
2
by: Alan Silver | last post by:
Hello, I am just trying out reading an XML file in an ASP.NET page, but am having a little trouble. I'm sure this is something really obvious and dumb, but I can't see what ... I have an XML...
6
by: Al Wilkerson | last post by:
Hi, Does anyone know how to display the contents of a DataGrid on another aspx page. I have a aspx page that when the user clicks on a link button the database is queried and I want the results...
4
by: bridgemanusa | last post by:
Hi All: I have a very long page of html that I want to take portions and hide them in divs, then show when a link is clicked. I have the hide show part working when the link is clicked, however...
2
by: bs9999 | last post by:
I'm using IFRAME to connect back to my ASP.NET page in order to fetch the FreeBox HTML Editor html contents and scripts (i do this apprach because the html editor is fairly heafty to send to the...
1
by: gujarsachin2001 | last post by:
HI I have my home page which is contaiing more than 10 images. So on calling that page it is shwing that images one by one on tht page.But want to show all the images & content of page at a once. I...
6
by: DRS.Usenet | last post by:
When I run alert("page contents:" + content.document.documentElement.innerHTML); I am able to pull the content. I see something like this page contents:<head><title>A Title</title>...
2
by: =?Utf-8?B?VHJhY2tz?= | last post by:
I want to show a specific help page in a .chm file from vb.net. This code shows the .chm file but it just goes to the first page or shows an error on the page: Help.ShowHelp(Me, "myhelp.chm",...
3
by: Max2006 | last post by:
Hi, I have the following code to show the UpdateProgress contents at the center of page: <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1"...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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,...
0
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.