Hi,
I written the following line to upload images.
<div style="width: 45%">
<input name="files" id="files" type="file" />
</div>
<script type="text/javascript">
$(document).ready(function () {
$("#files").closest(".k-upload").find("span").css("width", "300px");
$("#files").kendoUpload({
localization: {
"select": "Upload New Image",
"cancel": "Cancel",
"retry": "Retry",
"remove": "Remove",
"uploadSelectedFiles": "Upload files",
"dropFilesHere": "drop files here to upload",
"statusUploading": "uploading",
"statusUploaded": "uploaded",
"statusFailed": "failed"
},
async: {
saveUrl: "here what?",
removeUrl: "remove",
autoUpload: true
}
});
});
</script>
I have two questions
1. can you explain about saveUrl? How to save a selected image in specified local drive folder?
2. How to show a selected image in img tag?
i couldn't find any example from download kit kendoui.complete.2012.1.515.trial
can any one please help about this kendo upload
Thanks for you assistance
I written the following line to upload images.
<div style="width: 45%">
<input name="files" id="files" type="file" />
</div>
<script type="text/javascript">
$(document).ready(function () {
$("#files").closest(".k-upload").find("span").css("width", "300px");
$("#files").kendoUpload({
localization: {
"select": "Upload New Image",
"cancel": "Cancel",
"retry": "Retry",
"remove": "Remove",
"uploadSelectedFiles": "Upload files",
"dropFilesHere": "drop files here to upload",
"statusUploading": "uploading",
"statusUploaded": "uploaded",
"statusFailed": "failed"
},
async: {
saveUrl: "here what?",
removeUrl: "remove",
autoUpload: true
}
});
});
</script>
I have two questions
1. can you explain about saveUrl? How to save a selected image in specified local drive folder?
2. How to show a selected image in img tag?
i couldn't find any example from download kit kendoui.complete.2012.1.515.trial
can any one please help about this kendo upload
Thanks for you assistance