I am a bit unsure what exactly it is that you are in need of. The RadCloudUpload control is essentially a UI control and does not really have any uploading or downloading capabilities. The actual uploading is done by the provider in the UploadFileAsync
method. The return type of the async action is object, so you can pass any type of object there, including an info item with data about the uploaded file.
If I am not being clear enough, I will try to explain in little more details here. In your implementation of the UploadFileAsync
method, you have declared a Func<object> f that handles the upload process. In this action, there is a call to UploadFile
method, that seems to be doing the actual upload. Now, either this method can return the information you need, or it can't. If it returns information about the uploaded file, you seem to be all set. If it doesn't, then the uploading process alone does not seem to give you enough information, so you may need to start a download procedure after the upload in order to obtain the information needed.
With a little guessing from my side, it seems that the fileResult of the UploadFile contains a CustomFileResult object that should contain the exact information that you need. This customFileResult
is deserialized and is later returned by the Func<object> f, so from what we see, you already have everything you need.
Let me know if I was unable to address properly you inquiry or if you need any other informaion.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items