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

Check if a document is loaded in ASP

I am using an ASP to update some table contents on my HTML page by
calling the ASP page using hidden frames.

But the ASP script seem to get called even before the HTML FRAME is
loaded ie.(operlayout_preload.html). Is there a way to check in ASP
that it should start running only after the html is loaded completely
below is the html code that contains the HTML and the ASP(hidden)
<HTML>
<HEAD>
</HEAD>
<frameset rows = "80%,*">
<frame src="operlayout_preload.html" name="content">
<frame src="operlayout_xml.asp" name="Refreshpage">
</frameset>
</HTML>

Thanks

Sep 30 '05 #1
4 1746
<va*********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
I am using an ASP to update some table contents on my HTML page by
calling the ASP page using hidden frames.

But the ASP script seem to get called even before the HTML FRAME is
loaded ie.(operlayout_preload.html). Is there a way to check in ASP
that it should start running only after the html is loaded completely
below is the html code that contains the HTML and the ASP(hidden)
<HTML>
<HEAD>
</HEAD>
<frameset rows = "80%,*">
<frame src="operlayout_preload.html" name="content">
<frame src="operlayout_xml.asp" name="Refreshpage">
</frameset>
</HTML>

Thanks


"... ASP ... should start running only after the html is loaded ..."

You'll have to contact Microsoft and have them change it as
ASP is server-side which executes before client-side!

Sep 30 '05 #2
Looks like a design problem. I don't really understand what you do. You
could start with an empty "Refreshpage" src and have the html page triggers
the ASP page loading.

You may want also to explain what you are trying to do as there is perhaps a
better way (my understanding would be that the ASP page updates the HTML
page but that you have an old copy as it runs after the previous HTML page
is loaded ?????). It would be likely better to reorganize the control flow
if this is the case (using an asp page that updates the HTML page and then
renders the FRAMESET with the ASP page doing what it needs except the HTM
page refreshing)...

--
Patrice

<va*********@gmail.com> a écrit dans le message de
news:11**********************@g44g2000cwa.googlegr oups.com...
I am using an ASP to update some table contents on my HTML page by
calling the ASP page using hidden frames.

But the ASP script seem to get called even before the HTML FRAME is
loaded ie.(operlayout_preload.html). Is there a way to check in ASP
that it should start running only after the html is loaded completely
below is the html code that contains the HTML and the ASP(hidden)
<HTML>
<HEAD>
</HEAD>
<frameset rows = "80%,*">
<frame src="operlayout_preload.html" name="content">
<frame src="operlayout_xml.asp" name="Refreshpage">
</frameset>
</HTML>

Thanks

Sep 30 '05 #3
I basically want to update some html tables from an ASP page
periodically. The problem is since i have put the html page and the asp
page together in another HTML page as shown above. i am having problem.
What would be the correct way to update a elements in HTML page from
another ASP page. I want the updation to be done at the ASP itself to
minimise the processing done by the client side.

Oct 3 '05 #4
I'm not still sure about your current architecture. Is this :
- a static htm page that is written server side by an ASP page ?
- is this ASP page the one that is in the frameset ?

Why about using an ASP page that renders the correct HTML markup instead of
using a static HTM file that needs to be updated ?

--
Patrice

<va*********@gmail.com> a écrit dans le message de
news:11**********************@f14g2000cwb.googlegr oups.com...
I basically want to update some html tables from an ASP page
periodically. The problem is since i have put the html page and the asp
page together in another HTML page as shown above. i am having problem.
What would be the correct way to update a elements in HTML page from
another ASP page. I want the updation to be done at the ASP itself to
minimise the processing done by the client side.

Oct 3 '05 #5

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

Similar topics

2
by: Dave | last post by:
Can I determine if an array of image links is already in memory without using cookies or a hidden frameset? Scenario: visitor starts with Home page, images (links) for navigation pre-load no...
4
by: Gianpiero Colagiacomo | last post by:
Hi, I'm trying to use the following code (found online - can't remember where) to validate images being uploaded to my server: function checkImageUpload (fileName) { if (document.layers &&...
1
by: Jehan | last post by:
At the end of my HTML page I have following..... <script> for (i = 0; i < document.section_entry.length;i++) { // some code } </script>
1
by: Eli | last post by:
Hi, I've created a dynamic IFRAME and inserted it in the document. Then I changed the src property to some URL (not the same domain as the main document). I want to check when the IFRAME is...
6
by: sylcheung | last post by:
Hi, How can I be notified when the document load is complet in JavaScript? I am referring to the whold document load is complete, mean all images/external files/frame/iframes have been loaded. ...
16
by: janders | last post by:
Hey all, I've got a document that I want to ensure always get loaded into the top level document and not into a frame or iframe. I've got it figured out how to detect if the document is loaded...
4
by: chandu | last post by:
if i want to debug a dotnet application the break point is not going to hit. giving the message as "The break point will not currently hit,No Symbols have been loaded for this document". if i...
12
by: RoLo | last post by:
Is there anyway to use the html document on IE as an XML document?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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...

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.