RadzenUpload Not Calling Complete

The following RadzenUpload code was generated using Radzen Studio and is not calling the Upload event below. I also tried the examples and none of them would call complete.


protected async System.Threading.Tasks.Task Upload0Complete(Radzen.UploadCompleteEventArgs args)
{
Console.WriteLine(args.RawResponse);
}

Does this still need a controller? I was assuming it would call it with the data when done using BlazorServer.

Paul

Yes - you have to set the Url property as done in the online demos.

No, this isn't how RadzenUpload works. What it does is to post the file to the location specified via the Url property and then fire the Complete event.

1 Like