Select theme:

Material 3

Upload (Angular)link

Upload component properties and events. Please check also this guide how to use the Upload component with .NET Core.

Upload Propertieslink

NameTypeDefaultDescription
Namestring'upload' + index suffixUnique name of the upload.
UrlstringnullUpload url.
AcceptstringnullAccepted files filter.
ParameterNamestringfileUpload parameter name.
ChooseTextstringChooseChoose button text.
UploadTextstringUploadUpload button text.
CancelTextstringCancelCancel button text.
MultiplebooleanfalseIs multiple files upload allowed.
AutobooleanfalseIs auto upload allowed.
MaxFileSizenumbernullMax file size.
PreviewWidthnumber50File preview width in pixels.

image

Upload Eventslink

NameTypeDefaultDescription
BeforeUploadeventnullBefore upload event. No event arguments.
BeforeSendeventnullBefore send event. No event arguments.
UploadeventnullUpload event. Fired on successful upload. No event arguments.
ErroreventnullError event. Fired if there is an error during upload. No event arguments.
CleareventnullClear event. Fired when files for upload are cleared. No event arguments.
CanceleventnullCancel event. Fired when upload is canceled. No event arguments.

image

For more info about event actions please visit event actions in our documentation.

Angular declarationlink

<rz-upload #upload0 accept="image/*" [auto]="true" [maxFileSize]="1000"
  [multiple]="true" url="http://yourdomain.com/upload/">
</rz-upload>

© 2016-2025 Radzen Ltd. All Rights Reserved.
Designed and developed with ❤️ in Radzen Blazor Studio.

Select theme:

Material 3