Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

254
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!