Completed
Last Updated: 19 Sep 2016 11:04 by ADMIN
Created by: Aaron
Comments: 1
Category: Upload
Type: Feature Request
1
The suggested way to omit the Remove button is to not provide a Remove URL/Action.  However this breaks the list of the async upload such that the list doesn't get cleared with each new upload.  Since its an async upload that automatically uploads, there no point in accumulating a list of uploads.  Whether or not you expose a remove button shouldn't be tied in any way to the clearing of the list when a new upload is made.  That should only affect the availability of a remove button. At the very least you could provide some documentation on this quirky behavior.  Instead its random walk of, ok if I change this property what happens, how about this one, how about both, and whirl away a few hours screwing around with unpredictable behaviors.


    @(Html.Kendo().Upload()
                .Name("pdfFiles")
                .Multiple(false)
                .Async(configuration=> configuration
                    .AutoUpload(true)
                    .Save("UploadTemporaryPdf", "StatementOfCredit")
                    //.Remove("RemoveTemporaryPdf", "StatementOfCredit")
                )
                .Events(events=> events
                    .Select("onUploadSelect")
                    .Success("onUploadSuccess")                    
                    .Error("onUploadError")
                 )
                .HtmlAttributes(new { accept = "application/pdf" })
Completed
Last Updated: 19 Sep 2016 08:22 by ADMIN
Created by: Imported User
Comments: 2
Category: Upload
Type: Feature Request
2
can refer http://tus.io/demo.html for resumable file upload.
and http://www.dropzonejs.com/ for drop zone.
its beautiful and important plugin. hope fully kendo can intergrated.
Completed
Last Updated: 19 Sep 2016 05:42 by ADMIN
Created by: Robert
Comments: 9
Category: Upload
Type: Feature Request
48
There appear to be a number of options missing from this control that keep it from being really powerful. For example:
- there does not appear to be a method in which to access the files currently selected, in order to remove one. 
- If you want to limit the file types selected, you have to cancel the entire selection event, which will only piss off end users.
-The only way to show a "remove" button is to have something post back to the server, which makes no sense if AutoUpload is false.
- If you want to clear the list of uploaded items, you have to use jQuery to remove the LI's (WTF?)

My proposed changes:
- Have a Remove button regardless of whether there us a Remove URL set or not. If there is not a Remove URL set, disable the Remove/cancel button while files are being uploaded.
- Add a clear() method to remove all files, uploaded or otherwise.
- Add a getFiles() method to get a list of all in-memory files being managed.
- Add a remove(file) method, so that files that were accidentally selected can be removed in the Select event handler without having to choose between adding a server-side call and pissing off the end user.
- Add a setFileTypes() method that lets you pass in an array of file types to accept. All others will be automatically removed from the collection.
- Make the Drag&Drop capability set the drop zone visibility by default. You can manage that in jQuery without making me add more styles manually.

Thank you for your consideration.
Completed
Last Updated: 24 May 2016 10:07 by ADMIN
1 2 3 4