473,411 Members | 2,030 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Display a picture for say 5 seconds and then display a message.

I want to have a page where somebody can press the submit button and then it
will display a jpg for a couple of seconds and then print results. (I want
to give them the impression the system is thinking about something even
though it really isn't - perception an all....)

Any suggestions on how to do this?

TIA - Jeff.
Jul 26 '07 #1
6 1717
In the <headsection of your web page:

<meta http-equiv="refresh" content="5;url=nextPageURL.aspx">


"Mufasa" <jb@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>I want to have a page where somebody can press the submit button and then
it will display a jpg for a couple of seconds and then print results. (I
want to give them the impression the system is thinking about something
even though it really isn't - perception an all....)

Any suggestions on how to do this?

TIA - Jeff.


Jul 26 '07 #2
Hello Mufasa, hello Scott

You can use the approach from Scott, and modify it a little bit.
Add a runat="server" attribute to your <headtag, then in your button_Click
eventhandler
add dynamically the meta tag.

--
Gruss, Peter Bucher
Microsoft MVP - Visual Developer ASP / ASP.NET, Switzerland
http://www.aspnetzone.de/ - ASP.NET Zone, die ASP.NET Community
http://www.aspnetzone.de/blogs/peterbucher/ - Auf den Spuren von .NET
Jul 26 '07 #3
If you wish, you can do everything on client side with a bit of
javascripting and using timer function window.setTimeout.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Mufasa" <jb@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>I want to have a page where somebody can press the submit button and then
it will display a jpg for a couple of seconds and then print results. (I
want to give them the impression the system is thinking about something
even though it really isn't - perception an all....)

Any suggestions on how to do this?

TIA - Jeff.


Jul 26 '07 #4
Why bother?
"Peter Bucher [MVP]" <pe**********@aspnetzone.dewrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Hello Mufasa, hello Scott

You can use the approach from Scott, and modify it a little bit.
Add a runat="server" attribute to your <headtag, then in your
button_Click eventhandler
add dynamically the meta tag.

--
Gruss, Peter Bucher
Microsoft MVP - Visual Developer ASP / ASP.NET, Switzerland
http://www.aspnetzone.de/ - ASP.NET Zone, die ASP.NET Community
http://www.aspnetzone.de/blogs/peterbucher/ - Auf den Spuren von .NET

Jul 26 '07 #5
On Jul 26, 8:37 am, "Mufasa" <j...@nowhere.comwrote:
I want to have a page where somebody can press the submit button and then it
will display a jpg for a couple of seconds and then print results. (I want
to give them the impression the system is thinking about something even
though it really isn't - perception an all....)

Any suggestions on how to do this?
Why in the world would you want to slow down your user, even if it is
for 5 seconds?

Jul 26 '07 #6
Why in the world would you want to slow down your user, even if it is
for 5 seconds?
....And, the winner is...
Jul 26 '07 #7

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

Similar topics

9
by: Wally | last post by:
I am trying to display images from an Access 2000 database and I get an error "Invalid Parameter Used" when I execute the code line "picBLOB.Image = Image.FromStream(stmBLOBData)" in my Visual...
2
by: Fabrizio | last post by:
I have just put a internet webcam that save every 30 seconds a picture via ftp. I have an html file that display this picture file (the name of the file is always the same and the webcam delete the...
1
by: bborden | last post by:
Novice Access programmer here. I would like to display an image using the Toolbox Image object by calling the images file name using: =fPictureFiles(!!,1) in the Picture control. Below...
3
by: Z D | last post by:
Hello, BACKGROUND: ============== I've created a Windows User Control that contains an Image Control (among other controls). The user control handles the picture resize event. Whenever the...
11
by: Tina | last post by:
I'm in a button clicked event on mainpage.aspx. I want to display a new webpage that has just my image, which is a jpg. I want the page to be a ..jpg not an aspx so that it will be easy for the...
5
by: Homa | last post by:
Hi all, Can anyone give me some links about how to do an async web service call from aspx and display a temperary page before the web service returns? Thanks, Homa Wong
9
by: tshad | last post by:
This was posted before but the message got messed up (all NLs were stripped out for some reason). I have 2 labels that hold the name of different images on my .aspx page. <asp:Label ID="Logo"...
2
by: smorrison64 | last post by:
I have a form that is coded to open a File Dialog boc to pick a picture to display on that particular item on a subform. My form is not based on query, but rather two separate tables (one primary,...
1
by: _Who | last post by:
I wonder if you can explain what is going on? In vs browser, if I click, a window opens and the file is displayed. But I copy the files to the ips and click and get: Line 0 Object expected ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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
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
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...

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.