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

Upload metadata without file

1 Answer 76 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Jaanus
Top achievements
Rank 1
Jaanus asked on 27 Jul 2018, 05:50 AM

I have a form, where people can enter text and also add file with it. The problem is that, the file should not be required. At the moment the uploader does not "upload" when no files selected.

 

Is it possible to make the file request even if file is not selected, so only metadata is posted.

 

Example:

https://dojo.telerik.com/uNahUVAD

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 30 Jul 2018, 01:54 PM
Hi,

The file request of the upload is only performed if a file is uploaded. In case you need some request with some meta data we would rather recommend using jQuery $ajax and pass the desired meta data.

Regards,
Plamen
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
Jaanus
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or