Hi ,
I would add another idea :)
I did this a while ago ( in ASP but the idea is the same ) basically your
page will consist of two div one with the "preload" html code and the other
with the real code itself, the latter will be nonvisible ( done with CSS )
then in the body's onload event you change the visibility of them.
now the tricky part is to push the static content to the browser ASAP this
can be done with a Response.Flush.
Now if you slow content is only an image you can do another thing, you can
set a static image instead of the dinamic image, then on the OnLoad handler
you can create a Image object and set the src to a page that generate the
real image. when the image is loaded you just assign this new image to the
static image and voila :)
Hope this help,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Coskun Cavusoglu" <co*****@exceedinc.com> wrote in message
news:u7**************@TK2MSFTNGP09.phx.gbl...
Hi,
What I want to know is when a user clicks on a button I send him to
another page by using the Response.Redirect("") method. But the page that the user
is being sent to has to generate a picture so it takes time.. I want to
show a loading messeage there until the Newpage loads.. Anyone got any ideas ?
Thnks
Coskun