Jump to content

Show "Please Wait" Image before getting data


BryanHood

Recommended Posts

I am running Classic ASP, and I have a report that takes a while to load the data from my database.When the user first hits the report page, I would like to display a small image and the text "Please Wait while data loads..." or something similiar before I go and actually hit the database.When I retrieve the data, I would then like to refresh the screen and show the report.How can I do this?

Link to comment
Share on other sites

You could load the report in an iframe (even hide it while loading). The pleas wait image would be on hte main page. You could then use javascript (on the loading report iframe) to display and reset the width and height to take up the whole page (the call to this javascript would be the last line of the loading report so it is only executed when the report is fully loaded).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...