Hi,
I use the upload Control in a editor template in my telerik mvc grid - as you can see in the attached Picture. Upload works but I also want to
have an initial file if it is saved in the DB - so that I can use upload remove to delete it - but I have to set the file in the onEdit Event on client of the grid but this does'nt work (see Code)
- is it not possible to use MVC Upload Control and set a file(s) in Javascript?
function onEdit(e) {
var files = [
{ name: "file1.doc", size: 525, extension: ".doc" },
{ name: "file2.jpg", size: 600, extension: ".jpg" },
{ name: "file3.xls", size: 720, extension: ".xls" },
];
$("#Vorlagenname1_WordvorlageUpload").kendoUpload({
files: files
});
}