Photo Upload in Create/Edit Modal as Data Input
I'd like to Create/ Edit an app user while adding a photo in the same modal partial. Do you have demo code for photo upload as a form input? Thanks.
asked at 17 Jul 2018
we don't have a demo for that, only the [https://prodinner.aspnetawesome.com/Meal one in prodinner] but it is a separate popup for image upload and crop, for the `PopupForm` if you want to upload file via ajax you need to set `.UseFormData(true)`, `FormData` won't work in older browsers (IE9) or you can make use of an external plugin (like the one in prodinner), so you post the file separately and on the form post you only post the already uploaded file id
answered at 17 Jul 2018
to leave an answer