Chris,
Is there anything else I have to do other than the following two steps?
- set the AutoUploadOnPostBack=False on the UploadManager instance
- set the OnClientClick event handler to fire the SlickUpload_Submit() function on an object such as a button to trigger the upload
I have a functioning site that has 2 controls, your SlickUpload control and an asp:LoginStatus control. Everything functions great except when the user clicked the asp:LoginStatus control a page postback is triggered and if any files are selected, it causes the upload to proceed (despite the user clicking "Log Out"). Perfect scenario to use the AutoUploadOnPostBack=False, right?
I had performed the two steps from above in my development environment and now the confirmation screen acts as if it calls the restartButton_Click function after a very short delay because it flashes on the screen for a moment only to be redirected to a new upload (as if the user would click on the "New Upload" button I have in the uploadResultsPanel which calls restartButton_Click in the server-side click routine).
After testing this many times I noticed that sometimes I received the uploadResultsPanel content and I was required to click the "New Upload" button --good-- but other times I was immediately redirected to the new upload --bad--. I think the sporadic nature of this is causing me to go crazy! Additionally, when I do see the uploadResultsPanel content, sometimes the files are uploaded, sometimes they are not (my length reports 0 bytes even though I select files that have successfully uploaded before -- note, I have the files set to overwrite in the web.config).
I can post the site on a server so you can experience this or send you my code. Our licensed copy of the control is used on a secure site with the default value for AutoUploadOnPostBack (True) for the sake of functionality.