KendoReact Upload

4 posts, 0 answers
  1. David
    David avatar
    21 posts
    Member since:
    Sep 2019

    Posted 15 Dec 2020 Link to this post

    Hi,

    The KendoReact Upload component seems to only cater for sending files to dedicated server handlers. Is there any way to convert attached files to a byte array rather than posting to a server endpoint?

    Kind regards,

    David

  2. Stefan
    Admin
    Stefan avatar
    3004 posts

    Posted 16 Dec 2020 Link to this post

    Hello, David,

    The saveUrl can accept a function instead of a direct link.

    This will allow the developer to get access to the files and use them as required, including transferring them to byte arrays:

    https://www.telerik.com/kendo-react-ui/components/upload/api/UploadProps/#toc-saveurl

    We have an example in this GitHub item as well:

    https://github.com/telerik/kendo-react/issues/193

    Please have in mind that the upload will provide only the file, any further conversion or modifications has to be done programmatically.

    I hope this is helpful.

    Regards,
    Stefan
    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

  3. David
    David avatar
    21 posts
    Member since:
    Sep 2019

    Posted 18 Dec 2020 in reply to Stefan Link to this post

    Thanks Stefan,

    Are there any plans to add automatic transferral to byte arrays, or chunked upload of large files?

    Kind regards,

    David

  4. Stefan
    Admin
    Stefan avatar
    3004 posts

    Posted 18 Dec 2020 Link to this post

    Hello, David,

    Any new features are based on the community requests in our portal.

    If you wish a method that will do this conversion, please log a feature request for it and we will plan it accordingly:

    https://feedback.telerik.com/kendo-react-ui

    Regards,
    Stefan
    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Back to Top