How to change removeUrl of Kendo UI upload async in onSuccess? -


i'm using upload async upload files via ajax, , need update removeurl based on idea of uploaded file returns server after insert in database, how can this? seems there no method changing in api documentations, thanks

e.sender.options.async.removeurl removeurl is. change whatever suits needs. this

function onsuccess(e)  {        if (e.operation == "upload")        {           //do stuff, server response in e.response           e.sender.options.async.removeurl ="newurl";        } } 

if you're uploading many files @ once , want set removeurl each 1 different, simplest approach store server response success somewhere, tap remove event , change removeurl there.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -