I've built an uploader using the latest KendoUI and jQuery 1.9.1. It uses a .NET web service, which returns an empty JSON object to satisfy the new version of jQuery. The uploader seems to work; it shows the checkmark next to the file after uploading and the file gets written to the server.
However, there is no remove button showing. I have a removeURL and removeVerb, but the remove button is not present.
For the record, here is what the upload service returns:
I've tried setting the content-type to "text/plain" but then the JSON gets written as a byte[] rather than text for some reason. This might be the problem but I don't seem to be able to get around it.
Help?
However, there is no remove button showing. I have a removeURL and removeVerb, but the remove button is not present.
For the record, here is what the upload service returns:
HTTP/1.1 200 OK
Cache-Control: private, max-age=0
Content-Length: 7
Content-Type: application/json
Server: Microsoft-IIS/8.0
X-AspNet-Version: 4.0.30319
X-SourceFiles: =?UTF-8?B?QzpcQ29kZVxGTVNcTWFpblxQcm9qZWN0QWNjb3VudGluZ1xEYXRhU2VydmljZXNcRG9jdW1lbnRzLmFzbXhcRG9jdW1lbnRfQ1JFQVRF?=
X-Powered-By: ASP.NET
Date: Tue, 09 Apr 2013 23:14:56 GMT
" { } "
Help?