Hello,
I am evaluating the kendoUpload widget. Everything works fine, my file is submitted, however when the upload is complete, my client events don't seem to get fired, or I have something configured improperly. Also of note, if I set autoUpload: false, then the upload files button does not start the upload. Below is what I have for configuration:
Cache-Control: private
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 3.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 07 Dec 2011 14:45:13 GMT
Content-Length: 0
Any help would be appreciated.
Thanks,
ian
I am evaluating the kendoUpload widget. Everything works fine, my file is submitted, however when the upload is complete, my client events don't seem to get fired, or I have something configured improperly. Also of note, if I set autoUpload: false, then the upload files button does not start the upload. Below is what I have for configuration:
HTTP/1.1 200 OKdiv.find('input:file').kendoUpload({ async: { saveUrl: '/SomeController/Action', autoUpload: true }, localization: { "uploadSelectedFiles": "Upload Logo" // TODO: load language specific text }, multiple: false, remove: function (files) { var previewElement = $('#' + item.Uid + 'prev'); previewElement.fadeOut('fast', function () { previewElement.html(''); }); }, select: function (files) { if ((window.File && window.FileReader && window.FileList && window.Blob)) { if (files.files.length && files.files.length > 0) { var file = files.files[0]; var previewElement = $('#' + item.Uid + 'prev'); previewElement.previewImage({ 'file': file.rawFile, 'height': 250, 'width': 250, 'title': 'Some Logo' }); } } }, upload: function (evt) { evt.data = { 'Uid': item.Uid }; }, complete: function (evt) { alert('complete'); }, success: function (evt) {Here is the response as seen in the fiddler tool:alert('success');if (evt.operation == 'upload') { var responseData = evt.response; alert(responseData); } }
Cache-Control: private
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 3.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 07 Dec 2011 14:45:13 GMT
Content-Length: 0
Any help would be appreciated.
Thanks,
ian