Upload control not posting

Hi!
i want to use the upload control but in manual mode.
It works ok in auto but when changed to manual it´s not calling the handler after pressing submit button.
What i´m missing?
I´ve checked the samples but not getting the solution.
https://blazor.radzen.com/example-upload

You need to invoke the Upload method of the RadzenUpload component as in our demo:

<RadzenUpload @ref="upload" Auto="false" />
<RadzenButton Text="Upload" Click=@(args => upload.Upload() />

To do so you need to create a property of type RadzenUpload in your page and set a custom attribute called "@ref" with Value "upload".

1 Like

Thanks!
It worked , made using the IDE , not sure if there is another way of doing it without excluding the .razor file


You can add the property in the XXX.razor.cs file which Radzen does not overwrite. Using the designer works too!

1 Like