Use Upload control without a form

2 posts, 0 answers
  1. Sam
    Sam avatar
    8 posts
    Member since:
    Sep 2019

    Posted 31 Jan 2020 Link to this post

    Can this control be used without a form?  I don't see any way to submit the data otherwise.  If not, what's the suggested way to prevent the page from reloading after upload?
  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    2190 posts

    Posted 04 Feb 2020 Link to this post

    Hello Sam,

    The Upload has two more of operation: synchronous and asynchronous. In sync mode the Upload must be placed in a form and the selected file is sent on form submission. In async mode the selected file is sent with a request to the server immediately upon selection or after confirmation through the Upload's UI. There is no need to use a form in this mode.

    For more details on both modes of operation, refer to this documentation article: https://docs.telerik.com/kendo-ui/controls/editors/upload/modes

    The following demo showcases the async upload functionality: https://demos.telerik.com/kendo-ui/upload/async

    Regards,
    Ivan Danchev
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top