RadzenUpload uploads null after canceling second dialog #1702

Open
opened 2026-01-29 17:57:28 +00:00 by claunia · 0 comments
Owner

Originally created by @RSchneiderCSG on GitHub (Apr 3, 2025).

Describe the bug
The RadzenUpload fails to upload, if a file is chosen and then the dialog is canceled.

To Reproduce
Steps to reproduce the behavior:

  1. Click on RadzenUpload "Choose"
  2. Choose file
  3. Click again on RadzenUpload "Choose"
  4. Click on cancel
  5. The image preview and image name are still there
  6. Now run RadzenUpload.Upload()
  7. The uploaded file is null

Expected behavior
The last chosen file should be uploaded or the component should visualise the not anymore chosen file better.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Edge
  • Version 134.0.3124.93

Additional context
The RadzenUpload has an url configured and "multiple" and "auto" set to false.

Originally created by @RSchneiderCSG on GitHub (Apr 3, 2025). **Describe the bug** The RadzenUpload fails to upload, if a file is chosen and then the dialog is canceled. **To Reproduce** Steps to reproduce the behavior: 1. Click on RadzenUpload "Choose" 2. Choose file 3. Click again on RadzenUpload "Choose" 4. Click on cancel 5. The image preview and image name are still there 6. Now run RadzenUpload.Upload() 7. The uploaded file is null **Expected behavior** The last chosen file should be uploaded or the component should visualise the not anymore chosen file better. **Desktop (please complete the following information):** - OS: Windows 10 - Browser Edge - Version 134.0.3124.93 **Additional context** The RadzenUpload has an url configured and "multiple" and "auto" set to false.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1702