I was able to make it work in a Master/Child page scenario.
- Since I am using a div element instead of the form element in the child page, I need to assign the url as an option. (see script block below)
Make sure give your form element the class="dropzone", it is missing in your code.
<script type="text/javascript"> Dropzone.options.myAwesomeDropzone = { paramName: "file", // The name that will be used to transfer the file maxFilesize: 2, // MB url: "/user/tasks/photoupload.aspx?tid=<%=Request.QueryString["tid"]%>" }; </script> <div id="my-awesome-dropzone" class="dropzone"> <div class="fallback"> <input name="file" type="file" multiple="multiple" runat="server"/> <input name="btnUpload" type="submit" /><br /><br /> <asp:Label id="lblFallbackMessage" runat="server" /> </div> </div>
Good luck.