Demonstration and configuration of the Radzen Blazor Upload component.
To get uploaded files handle the Change event and use its event arguments.
Console log
To upload files to a server set the Url
property of the component. The URL should point to an action method in your server-side code that handles the file upload.
Console log
To upload multiple files set the Multiple
property of the component to true
.
Console log
To trigger the upload from code set the Auto
property of the component to false
. The upload can be triggered by calling the Upload()
method of the component.
Console log
To filter the files that can be uploaded use the Accept
property of the component. The Value should be a comma separated list unique file type specifiers
Console log
To send additional parameters with the upload request use the Url
property of the component.
Upload URL set to: upload/42?query=query
Console log
This demo shows how to use the RadzenProgressBar
component to show upload progress by handling the Progress
event.
This demo shows how to use the RadzenUpload
component to allow users to drag and drop files for upload. The ChooseText
property is used to set the text displayed when no files are selected.
Console log
To send custom HTTP headers with the upload request use RadzenUploadHeader
.
Console log
To specify the action method parameter name use the ParameterName
property of the component. The value should be a string. By default the parameter name is file
or files
if the Multiple
property is set to true
.
Console log
The following keys or key combinations provide a way for users to navigate and interact with Radzen Blazor Upload component.
Press this key | To do this |
---|---|
Tab | Navigate forward across Upload buttons. |
Shift + Tab | Navigate backward across Upload buttons. |
Enter or Space | Click the focused Upload button. |
Whether you prefer a standalone environment or integration directly within Visual Studio, Radzen provides a powerful toolkit to increase development speed, reduce repetitive coding, and focus on building exceptional applications.
Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles.
Radzen Blazor for Visual Studio extension streamlines Blazor development within the Visual Studio environment. The Blazor extension you need to boost productivity!
Radzen Blazor Components, © 2018-2025 Radzen.
Source Code licensed under
MIT