I have a process where a user can register and add a picture of himself via an image file stored locally. The problem I am facing with a lot of image browsers openly available is either they require something as follows:
@using (Html.BeginForm("FileUpload", "Home", FormMethod.Post,
new { enctype = "multipart/form-data" }))
I am not that knowledgeable in MVC,Can someone suggest the approach I should take in handling this issue?
Image should be uploaded on clicking Register. Almost all of the image uploaders I found had a dedicated button for uploading.
Aucun commentaire:
Enregistrer un commentaire