hey, i need to move to another page after the upload is completed. the problem i have encountered is that on a large upload, the transfer() command gets executed before the upload is complete, so an error is thrown. consequently, i need to test to see if the upload is finished, before i transfer the user to a new page.
i was trying this bit
while (inlineProgressBar.ProcessingProgress.Value < inlineProgressBar.ProcessingProgress.Maximum) // wait
but the code inlineProgressBar.ProcessingProgress.Value is not valid. can you suggest a correction, or alternate method for testing to see if the upload has finished?
If you want to do something after the upload completes, you should just be able to put that code in your code-behind. Your code-behind won't execute until the file has been completely received at the server. When you did that, what was the full error message you were seeing? Where was it being displayed? in the IDE? on the page? in the progress bar?
Thanks. the error showed up on the page i was transferring to after upload. after more digging, it appears the error is a documented .net problem. i had a server.transfer() call in the code behind after the upload, and was getting a thread abort exception error. the following knowledge base article solved the problem. Sorry for the bother, thanks for your reply.
ThreadAbortException Occurs If You Use Response.End, Response.Redirect, or Server.Transfer