using a dialog box in asp.net

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,076
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top