Home     Products      Support      Corporate     Sign In 
Support Knowledge Base, Article 966
Product
FileUp
Version
all
Title
Progress Indicator window is slow to open
Problem

When using the Progress Indicator with FileUp, some users notice a delay before the Progress Indicator window opens, especially with Internet Explorer.

Solution

This behavior occurs in our samples distributed with FileUp 5.0.11 and below. It is not unique to FileUp, as it is caused by passing null as the window name to JavaScript's window.open() method.

In form.asp of our Progress Indicator sample, there is a startupload() method that pops up the Progress Indicator window with a call to window.open(), as follows:

window.open("progress.asp?progressid=<%=intProgressID%>",null,winstyle);

The second parameter is the window name. This is not a reference or the title of the window. It is used as a target to links and forms. In our case, we want the target to be a new window, so we should set it to "_blank", as follows:

window.open("progress.asp?progressid=<%=intProgressID%>","_blank",winstyle);

With this modification, the Progress Indicator window should pop up very quickly with little or no delay.

Special thanks to Xander Merkx of InterConnect for this tip!

Created : 10/18/2004 10:29:24 AM (last modified : 10/18/2004 10:29:24 AM)
Rate this article!
Comments