javascript - Configuring a FineUpload instance -
i have following basic setup uploader:
<script type="text/javascript"> $(document).ready(function () { var uploader = new qq.fineuploader({ element: $('#fine-uploader')[0], request: { endpoint: 'server/handleuploads' }, autoupload: true, multiple: false, text: { uploadbutton: '<asp:button id="btnfineuploader" runat="server" style="margin-right:7px;width:65px;" text="browse" cssclass="button" />' }, validation: { allowedextensions: ['mp3', 'wav'], } }); }); </script> <div id="fine-uploader"></div>
this generates following:
now @ least have uploader rendering i'm working on making look/behave in specific manner. here's things i'm trying accomplish:
- i don't want display "processing dropped files" (it displays time, before select/upload file)
- i don't want "retrydeleteupload failed" display right of file name
- i don't want uploaded filename appear bullet below button, rather right right of it
- i don't want multiple files uploaded, settings limit size 1 doesn't accompslish want -- want able select/upload second file replaces first 1 (i.e. don't error, replace previous upload)
also, simple, how wire endpoint in asp.net code-behind? add method "void handleuploads()"?
also, fact wrapped uploadbutton asp:button cause breakage in ie (i did default css style applied that).
thanks. can wrap up, licensed , deploy soon.
edit: yes, i've checked out docs on github, , many of settings fileuploader mode not working.
i can't asp code, can point @ .net examples in server-side examples repo, server-side readme (which should have encountered when going through documentation).
your first 3 questions exist because have not imported default css file document. if import properly, see these questions no longer have meaning.
for 4th bullet-point, set multiple
option "false" have done in code above.
Comments
Post a Comment