Need help troubleshooting DropZone in a partial View

I am using DropZone in a partial View.  I never reach the controller.  Can you help me troubleshoot this please?

My Partial View has:

@using (Html.BeginForm(new
    @id = "DocUpload"
    <div id="DocumentUpload" class="dropzone">
        <div class="fallback">
            <input name="file" type="file" multiple />

<script type="text/javascript">
    $(function () {
        Dropzone.autoDiscover = true;
        new Dropzone('#DocumentUpload', {
            autoProcessQueue: true,
            maxFilesize: 10000,
            acceptedFiles: 'image/jpeg,image/jpg,image/png,application/pdf,.doc,.docx',
            url: '@Url.Action("Upload", "Document", new { id = Model })',

            init: function () {
                var myDropzone = this;

                this.on("success", function (files, response) {
                this.on("error", function (files, response) {


Open in new window

The controller method is never called.  I am able to drag or drop in a file and the "view" closes as it should but the controller is never reached to update the database.
Crystal RouseTask LeadAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Check if you have any error in the console
Chrome right click / inspect

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.