B
Bob Weiner
I am not sure I'm attacking my problem the correct way so if there is a
better solution than what I am doing, please let me know that.
My application has to upload, process, and make the resulting file available
for download. On the server I have InQueue, Working, and OutQueue
directories and a web page that lists the files in each. In order to allow
automatically refreshing the page without re-uploading the file on each
refresh, I moved the file upload functionality to its own page. When the
user selects the option to input new info, javascript opens a new window
with the file uploading capability.
The second window should function like a dialog box. It has a submit button
which takes the file and places it in the InQueue. So far so good.
After the file is uploaded I want the second window to close (ie.
onClick="window.close();") and the first window to refresh itself.
My question is, how do I use asp.net to create a button that
1) has a server-side handler to the event,
2) sends no reply but causes the client window to close, and
3) causes the initial window to do a refresh?
Is this possible? Is it easy? Am I going in the right direction???
thanks,
bob
better solution than what I am doing, please let me know that.
My application has to upload, process, and make the resulting file available
for download. On the server I have InQueue, Working, and OutQueue
directories and a web page that lists the files in each. In order to allow
automatically refreshing the page without re-uploading the file on each
refresh, I moved the file upload functionality to its own page. When the
user selects the option to input new info, javascript opens a new window
with the file uploading capability.
The second window should function like a dialog box. It has a submit button
which takes the file and places it in the InQueue. So far so good.
After the file is uploaded I want the second window to close (ie.
onClick="window.close();") and the first window to refresh itself.
My question is, how do I use asp.net to create a button that
1) has a server-side handler to the event,
2) sends no reply but causes the client window to close, and
3) causes the initial window to do a refresh?
Is this possible? Is it easy? Am I going in the right direction???
thanks,
bob