We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Single callback for multiple files upload.

Thread ID:





132354 Aug 28,2017 11:55 AM UTC Aug 29,2017 05:20 AM UTC ASP.NET MVC 2
Tags: Uploadbox
Than Htike Aung
Asked On August 28, 2017 11:56 AM UTC

@Html.EJ().Uploadbox("uploadbox").SaveUrl("/api/call").AutoUpload(true).AllowDragAndDrop(true).ClientSideEvents(e => e.Complete("onSuccess"))

function onSuccess(sender, args) {
When multiple files are dragged and dropped, there are multiple requests to SaveUrl but only one success is called. 
How can I achieve multiple callbacks?

Than Htike Aung
Replied On August 28, 2017 12:06 PM UTC

@Html.EJ().Uploadbox("uploadbox").SaveUrl("/api/call").AutoUpload(true).AllowDragAndDrop(true).ClientSideEvents(e => e.Success("onSuccess"))

Solved by using success event. I'll posted here as future reference.


Prince Oliver [Syncfusion]
Replied On August 29, 2017 05:20 AM UTC

Hi Than, 

Thank you for contacting Syncfusion forums. 

We are glad to know that you found solution for your issue. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon