Asynchronous Upload
28 Jun 2017 / 1 minute to read
This feature allows you to upload and remove files asynchronously. To achieve this, set the asyncUpload property to ‘true’. The default value of asyncUpload property is ‘true’. The data type is Boolean.
The following steps guide you in uploading the file asynchronously.
In the HTML page, add the <div> element to configure the Uploadbox element.
<div id="Uploadbox" ej-uploadbox e-saveurl="save" e-removeurl="remove" e-asyncupload="true"></div>
angular.module('UploadboxApp', ['ejangular'])
.controller('UploadboxCtrl', function ($scope) {
$scope.save = "saveFiles.ashx";
$scope.remove= "removeFiles.ashx";
});
For JS, configure saveFiles.ashx and removeFiles.ashx files as mentioned in the Save file action and Remove file action respectively.
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page