File upload on form


Am I able to have a RadzenUpload control on a Radzen form and have both the file (which can be quite large) and the model get posted to the API endpoint which is currently specified on the RadzenUpload control?

Currently the file that needs to be uploaded is too large for the RadzenFileInput.


Hi @wbuckley,

Blazor doesn't have built-in support for that - one cannot use the built-in form support to upload files. This is why we have implemented the RadzenUpload which posts files to a separate controller (via regular HTTP POST and not Blazor) and RadzenFileInput which acts as a text field that stores the file as Base 64 data.

1 Like