Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

253
Vistas
Implementing dropzone in a form in ASP.net 404 error

Currently I am trying to implement a dropzone in a pre-existing form using asp.net razor pages. My div containing the dropzone looks like this:

<div class="form-group">
    <label class="control-label">Add Files</label><br />
    <div runat="server" class="dropzone dz-clickable" id="myDropzone">
    </div>
</div>

and my js looks like this:

    Dropzone.options.myDropzone= {
    url: '/uploads/image',
    uploadMultiple: true,
    parallelUploads: 5,
    maxFiles: 5,
    maxFilesize: 1,
    acceptedFiles: 'image/*',
    addRemoveLinks: true

}

With this I get a 404 error even though I have set up a folder in the wwwroot folder called uploads and I'm still getting the error. I want these files to be uploaded to this directory so I can process them when the submit button is pressed. Currently I am able to send the files to the C# file by calling Request.Form.Files just by using <input type="file" /> but I haven't been able to get dropzone to work in a similar way.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda