We have a page where you can download some files (via a link in a grid) and upload one file. When you first do a download of a file and then try to upload a file, the server side event FileUploaded is not triggered and only the click event of the related post trigger button is going off, but then the UploadedFiles property of the RadAsyncUpload doesn't have the uploaded file. When you click again on the button then the FileUploaded event is triggered.
The code to download the file is the following:
Dim stream As System.IO.MemoryStream = reportResult.ReportStream
Dim filter As IO.Stream = response.Filter
response.Filter = Nothing
response.ContentType = reportResult.Report.Type.MimeType
response.AddHeader("Content-Disposition", "attachment; filename=" & fileName)
If stream.Length > 0 Then stream.WriteTo(response.OutputStream)
It seems that something in the download is making the RadAsyncUpload losing some triggers which are reset after the first postback.