I am looking for an example of using Kedo Upload, and placing the file/metada in an ODATA data service.
Ideally I would like to relate it to another parent record as well.
Thanks in advance.
1 Answer, 1 is accepted
0
T. Tsonev
Telerik team
answered on 22 May 2013, 12:14 PM
Hello,
We haven't received such requests before and I did a quick research on the subject.
The Kendo Upload sends the files to the server in a request that looks pretty much like a regular form POST (multipart/form-data). If OData can handle this, then it should work with the Upload.
The problem is that information on handling binary blobs in OData is scarce. The only resources I found are:
The other option is to send the encoded file content as part of a regular OData request. This is guaranteed not to work in IE though as you can't read the file on the client. It lacks support for the File API.
With this in mind I'd say that support for OData is possible in theory, but we really need to see a working example that we can follow.
Regards,
Tsvetomir Tsonev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!