View Full Version : Page Loading Problem!

09-28-2005, 01:08 AM
I have an ASP application that retrieves 100+ records from an Access database & displays it to the user in a tabular format. As such, the script works fine but when I access this application from a remote server, a small problem creeps up!

Usually when a web page is getting downloaded in IE 6.0, the "Progress Bar" on the Status Bar of IE goes on lengthening & after the entire page gets downloaded, the "Progress Bar" reaches the upper limit & stops.

My problem is although all the records from the backend get retrieved & displayed to the user i.e. the entire page gets loaded, the "Progress Bar" covers, say, only 15-20% of the entire length (it has to cover) & as time goes by, it progresses forward at a snail's pace (literally!) & when it reaches the end, "The page cannot be displayed" page comes up!

Please visit http://www17.brinkster.com/arpand/atlantic/job2/Test.asp to get an exact idea of my problem (& please be patient). When you visit this URL, you will find that although the entire page has loaded, the IE "Progress Bar" moves forward at a very slow pace & IE finally shows the "The page cannot be displayed" page.

Actually the script includes a JavaScript code which shows an IE like Progress Bar on the web page as the page gets loaded (you will see it when you visit the above-mentioned URL). The Progress Bar is displayed in a textbox which is within <div id="MyText"></div> tags. Though the actual JavaScript code that creates the Progress Bar is at the very top of the page, the visibility of the Progress Bar is governed with the following code which is at the very end of the page:

<style type="text/css">


Could this be the cause of the problem? Can I overcome this problem using JavaScript?