I have a problem getting the multi file upload process to work when I override the RadUploadHandler ProcessStream. I have adapted an example of code that was posted on an earlier thread showing how to override the ProcessStream in the RadUploadHandler, I did this so that I can change the default behaviour of the upload control to save the documents to a database rather than to a file server. However since implementing the change I have two problems:
- The first problem is identifying the different files in the process stream. In my case I send a single stream containing multiple files (up to a max size of 25mb) to be uploaded, my handler rightly recognises that there are multiple files in the stream but the GetFileName() method only returns the name of the first file in the batch.
- My second problem is that upon completion the RadUpload control doesn't show that all the files have been uploaded, it only shows the first one as being uploaded. I tried intercepting the SendFeedback method within my ProcessStream sub to send back the proper filenames for each file in the batch but this still didn't produce the result I wanted.
Any help would be much appreciated. Andy