473,327 Members | 1,952 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,327 software developers and data experts.

"In Between" Page Not Loading..

Hi,

I am trying to build an "in between" page to show an animated "Working.."
gif while a long process runs on the server via ASP.

The problem is that the table/gif is not displaying when I load the
inbetween page..

This is my code snippet:

Updating Room Type
#<%=setRoomTypes.Fields.Item("ROOMTYPE").Value%><b r><br>
<img src="images/imgPleaseWaitAni.gif"><br>
<script>

window.open("pageUpdateMinimumStays.asp?SITEID=<%= Request.QueryString("SITEI
D").Item%>&ROOMTYPE=<%=setRoomTypes.Fields.Item("R OOMTYPE").Value%>&index=<%
=(MM_offset+1)%>","_self");
</script>

(I have code that opens the db above this code). Should I open the DB, pull
out the field values I need, and close the db so I have no ASP in the body
of the page?

Its very frustrating because now I just get a blank page and I'm sure this
will throw off the users..

Thanks,

Rich
Jul 19 '05 #1
2 1821
By default, IIS 5 buffers the response until all ASP'ing has finished. You
can flush your response using response.flush, and your image ~may~ appear.
See the thread from earlier today with "Response.flush()" as the subject
line though.

Ray at work

"Richard Morey" <rw*******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi,

I am trying to build an "in between" page to show an animated "Working.."
gif while a long process runs on the server via ASP.

The problem is that the table/gif is not displaying when I load the
inbetween page..

This is my code snippet:

Updating Room Type
#<%=setRoomTypes.Fields.Item("ROOMTYPE").Value%><b r><br>
<img src="images/imgPleaseWaitAni.gif"><br>
<script>

window.open("pageUpdateMinimumStays.asp?SITEID=<%= Request.QueryString("SITEI D").Item%>&ROOMTYPE=<%=setRoomTypes.Fields.Item("R OOMTYPE").Value%>&index=<% =(MM_offset+1)%>","_self");
</script>

(I have code that opens the db above this code). Should I open the DB, pull out the field values I need, and close the db so I have no ASP in the body
of the page?

Its very frustrating because now I just get a blank page and I'm sure this
will throw off the users..

Thanks,

Rich

Jul 19 '05 #2
"Richard Morey" wrote:
: I am trying to build an "in between" page to show an animated "Working.."
: gif while a long process runs on the server via ASP.
:
: The problem is that the table/gif is not displaying when I load the
: inbetween page..
:
: This is my code snippet:
:
: Updating Room Type
: #<%=setRoomTypes.Fields.Item("ROOMTYPE").Value%><b r><br>
: <img src="images/imgPleaseWaitAni.gif"><br>
: <script>
:
:
window.open("pageUpdateMinimumStays.asp?SITEID=<%= Request.QueryString("SITEI
:
D").Item%>&ROOMTYPE=<%=setRoomTypes.Fields.Item("R OOMTYPE").Value%>&index=<%
: =(MM_offset+1)%>","_self");
: </script>
:
: (I have code that opens the db above this code). Should I open the DB,
pull
: out the field values I need, and close the db so I have no ASP in the body
: of the page?

Yes. Open late, close early.

: Its very frustrating because now I just get a blank page and I'm sure this
: will throw off the users..

Or you could just put "This page intentionally left blank" (O:=

What is this, just description?
: Updating Room Type

So then your popup will look something similar to:

<script>window.open("pageUpdateMinimumStays.asp?SI TEID=1&ROOMTYPE=1&index=1"
,"_self");</script> ???

'launch app from page1.asp
location.href='page2.asp'

'page2.asp launches popup
'call popup.asp from client-side
window.open('popup.asp','popup')

'run process
'close popup
'update page

Is this the sequence you're using?

--
Roland

This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose.
-Technet Knowledge Base-
http://support.microsoft.com/default...&ln=EN-US&FR=0
-Technet Script Center-
http://www.microsoft.com/technet/tre...er/default.asp
-WSH 5.6 documentation download-
http://www.microsoft.com/downloads/d...displaylang=en
-MSDN Library-
http://msdn.microsoft.com/library/default.asp
Jul 19 '05 #3

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

Similar topics

1
by: mderie | last post by:
Well I start Visual Studio 2003, load my current project, open the "File" -> "Add new item..." menu, select the class item in the code category and press OK ! All I get is the error message...
3
by: Roy | last post by:
Anyone have any links and/or code samples demonstrating how this can be done? Current procedure is that john doe clicks an item on a datagrid of mine and after however long, gets the info he wants....
0
by: Mark Shehan | last post by:
Hi all I have an app that has a web browser control embedded in a windows form. I have no problem in loading the favorites into a list and getting them to work but does anyone know of an easy way...
2
by: crjunk | last post by:
I have a droped a UserControl named "ReceivedRecord1" onto my web form. Currently, I have been saving information typed in by the user with the following code that is located in the CodeBehind...
2
by: Dexter | last post by:
Hello all, I have webform1, and i need to make a bow to catch all textbox in my webform1. I tray this, but don't function. Dim obj As System.Web.UI.WebControls.TextBox Dim cont As Integer For...
6
by: Pealy | last post by:
Hi. I'm trying to get one of the examples from ASP.NET 1.1 Insider Solutions to work in asp.net and i'm getting stuck on using the META tage to do a refresh. I have the following in my HTML...
3
by: letsgetsilly | last post by:
I would like to know how sites can have "additional links" listed underneath their homepage in google. When you search google for "Bank of America " you can see they have a "Contact Us" page, a...
0
by: tom | last post by:
i'm just logging this issue here so if anyone else finds the same they know what to do: -I'm running VB6 on a VMWare machine (tried both 2003 and XP) -the project is located on a mapped drive...
4
by: fran7 | last post by:
Hi, from help in the javascript forum I found the error in some code but need help. This bit of code works perfectly, trouble is I am writing it to a javascript function so the height needs to be in...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.