Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

How to call a different removeUrl for each file on remove?

$
0
0

for better or worse, what I did for this was to create a function to attach to the remove event, then override the removeUrl when that was called : 

 

onRemove = function(e)  {
e.sender.options.async.removeUrl = "api/resource/{resourceId}/attachments/" + e.files[0].id;
};

 

Works well, but perhaps there is a cleaner way


Viewing all articles
Browse latest Browse all 78072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>