This is a migrated thread and some comments may be shown as answers.

Use Upload control without a form

1 Answer 90 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 31 Jan 2020, 11:38 PM
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?

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 04 Feb 2020, 04:10 PM

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.
Tags
Upload
Asked by
Sam
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or