I am trying to use the AsyncUpload in an MVC application. Added the control to a view and all the client side validations worked fine. I am not able to figure out how to get my FileUploaded event handler triggered on file upload.
I added the following Action to one of the controllers, managed to get the submitted file through the form collection.
ActionResult UploadFileToServer(FormCollection form)
I am recieving something like the following as part of the form["RadAsyncUpload1_ClientState"] member.
This seems like json representation of the FileUploadedEventArgs. Can someone let me know how to create the FileUploadedEventArgs type object with this, so that I can process the file contents?
Let me know if there is any other supported way of dealing with this control in MVC applications.