For Programmers: Free Programming Magazines  


Home > Archive > ASP > October 2006 > How do I assure/be certain/check in ASP that an html element was fully loaded in the









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How do I assure/be certain/check in ASP that an html element was fully loaded in the
thisis

2006-10-30, 6:59 pm

Hi All,

Hi All,

(this is not the same topic as the my previous topic)


What objects/methods/properties does VBScript offer for:
Assuring/guarantee/make certain that ASP/VBSCript an ELEMENT - e.g.
<img ... /> - was FULLY Loaded into web Browser



My Question is:


describe,

i have a page that does this
a dll thatt does that

the problem temp file


How do I assure in ASP that an html element was fully loaded in the
client side?

myGetImage.asp uses a myGetImg.dll that does the following steps:

1. myGetImg.dll gets a data base record field
2. myGetImg.dll creates a temporary image - out of step 1 - on the
client side - eg. myTempImg.jpg
3. myGetImage.asp has the <img .../> tag, and displays myTempImg.jpg on
the client side.
4. myGetImage.asp uses a simple for...next loop for delaying - because
in step 6 myTempImg.jpg is deleted -
and Server.ScriptTimeout has a bigger value than the default.
5. myTempImg.jpg is supposed to be shown/displayed on the client side
6. myGetImg.dll deletes the myTempImg.jpg


i'm not complete with step 4: that uses for...next loop for delaying,
because it can very annoying
on the client side to wait so long, for a image to be displayed on the
client browser.

My problem is:
On some case - eg where myTempImg.jpg has big size - the
myTempImg.jpg is deleted by myGetImg.dll,
before myTempImg.jpg was displayed on the client/web browser.
the for..next/and Server.ScriptTimeout don't seem as a good idea,
because they sometimes they work and sometimes not.
i've test my page on intranet and it's ok, but i'm not sure this will
be valid for internet testing.



My Question is:

is there any object/way/method in asp, that can
assure/verify/check/make certain that
myTempImg.jpg was fully/100% loaded into the client web server, before
myGetImg.dll deletes it.

OR

How do I assure/be certain/check in ASP that an html element was fully
loaded in the client side?

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com