Groups | Blog | Home
all groups > inetserver asp general > september 2005 >

inetserver asp general : Check if a document is loaded in ASP


vanisathish NO[at]SPAM gmail.com
9/29/2005 9:45:07 PM
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
McKirahan
9/30/2005 7:06:22 AM
[quoted text, click to view]

"... 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!


Patrice
9/30/2005 2:20:17 PM
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

<vanisathish@gmail.com> a écrit dans le message de
news:1128055507.265558.273260@g44g2000cwa.googlegroups.com...
[quoted text, click to view]

vanisathish NO[at]SPAM gmail.com
10/2/2005 9:30:18 PM
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.
Patrice
10/3/2005 10:28:33 AM
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

<vanisathish@gmail.com> a écrit dans le message de
news:1128313818.295415.207270@f14g2000cwb.googlegroups.com...
[quoted text, click to view]

AddThis Social Bookmark Button