New to Kendo UI for AngularStart a free 30-day trial

ErrorEvent

Arguments for the error event. The error event fires when an upload or remove operation fails.

typescript
@Component({
   template: `
   <kendo-upload (error)="errorEventHandler($event)"></kendo-upload>
   `
 })
 export class UploadComponent {
  public errorEventHandler(e: ErrorEvent) {
     console.log('An error occurred');
   }
}
NameTypeDefaultDescription

files

FileInfo[]

The array of files that failed to be uploaded or removed.

operation

OperationType

The operation type that failed (upload or remove).

response

HttpResponse<any>

The HTTP response returned by the server containing error details.

Not finding the help you need?
Contact Support