Kendo Upload to ODATA Service....

2 posts, 0 answers
  1. Jack
    Jack avatar
    1 posts
    Member since:
    May 2013

    Posted 20 May 2013 Link to this post

    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.

  2. T. Tsonev
    T. Tsonev avatar
    2834 posts

    Posted 22 May 2013 Link to this post


    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. 

    Tsvetomir Tsonev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top