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