If the synchronous version of the Upload widget is used and it is part of the form, it does not distinguish from regular input type="file"
elements. The selected files will be part of the form submit information, so you could use the submit event
of the form in order to validate the information and process the submit as usual. In general, in this case, if you are able to implement the scenario without the Upload widget, but with a regular input type="file"
, there should not be a difference when implementing our widget. Let me know if that is not the case.
As for the case of asynchronous upload, you could set the autoUpload
option to false. This way the upload will be triggered through a button click. Additionally you could use the upload event handler
to attach the additional data to the uploaded file.
I hope this information helps. Have a great day!
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI