I'm using the RadAsyncUpload to upload files to a custom handler which stores the files into our database. The custom handler returns a key value for the file which I want to then use during form postback to attach those uploads to the current record (which may be a brand-new record). I can see the custom returned data on the client in OnClientFileUploaded() by using args.get_fileInfo(). From that standpoint I have everything working, upload, saving, validation, returning the file key.
Here's my definition of RadAsyncUpload:
<Localization Select="Select Files for Upload" />
Now the user posts the form back, so I call AttachmentAsyncUploader.UploadedFiles() which gives me a list of the files that were uploaded, but I can see no way to access the custom fileInfo fields that were returned by the handler. Obviously just the file name isn't enough to figure out which attachments need to be attached to the newly created records.
Here is how I'm building and returning the meta-data from the custom handler, FileUploader.ashx (most importantly AttachedFileGuid):
var result = CreateDefaultUploadResult<FileUploaderResult>(file);
result.AttachedFileGuid = InsertFile(file);
What is the expected way to get the full information about the uploaded files back to the postback? Obviously, I can build my own field to store all that, but it seems an awful hack to use RadAsyncUpload and then just ignore it completely on postback.
Thanks in advance,