I'm trying to save uploaded files into a db and return the row id. I'm having significant problems with getting the uploaded files from the RadTreeView node. The application allows users to drag/drop a file onto a node. This part is working. However, on the server side, the uploadedfiles is always empty. So I implemented a custom handler and I can access and save the file at that point. However, I can not access the results object that is returned because my OnFileUploaded event is not getting fired. I need the returned file id so I can open a new window.
I have a hidden button that is clicked via the OnClientFileUploaded event by doing a postback on the hidden button.
Here's my control:
<rad:RadAsyncUpload runat="server" ID="radUpload" OnClientFilesUploaded="OnClientFilesUploaded" PostbackTriggers="btnUploadFiles"
DisableChunkUpload="false" EnableFileInputSkinning="false" UploadedFilesRendering="AboveFileInput" MultipleFileSelection="Automatic" Skin="Default" OnFileUploaded="RadAsyncUpload1_FileUploaded" OverwriteExistingFiles="true" OnClientAdded="OnClientAdded" HttpHandlerUrl="~/Tools/CustomHandler.ashx">
Is there another way to access the results object without using the OnFileUploaded event?