RadzenUpload - Support programmatic removal / clearing of selected files #327

Closed
opened 2026-01-29 17:35:27 +00:00 by claunia · 0 comments
Owner

Originally created by @bengavin on GitHub (Feb 18, 2022).

Is your feature request related to a problem? Please describe.
We are currently utilizing the RadzenUpload control to upload multiple files. Some of the files may fail processing, and we would like to remove certain files from the selection to allow the user to try again. We would also like to support a workflow of 'select files -> upload -> select other files -> upload' in a clean and concise way without refreshing the page.

Describe the solution you'd like
I would like the RadzenUpload control to allow for clearing selected files or removing specific files from the list of files currently selected by the control.

Describe alternatives you've considered
We have investigated custom JavaScript / Reflection to get at the internals of the control, but that feels dangerous and unnecessary. This feels like it should be a native feature of the control, especially when 'Auto' is set to false and the developer desires to give the user control over when the upload happens.

Additional context
I have prepared a PR which I will submit to this issue which adds this feature, and clears up a minor memory leak in the existing RazdenUpload control JavaScript.

Originally created by @bengavin on GitHub (Feb 18, 2022). **Is your feature request related to a problem? Please describe.** We are currently utilizing the RadzenUpload control to upload multiple files. Some of the files may fail processing, and we would like to remove certain files from the selection to allow the user to try again. We would also like to support a workflow of 'select files -> upload -> select other files -> upload' in a clean and concise way without refreshing the page. **Describe the solution you'd like** I would like the RadzenUpload control to allow for clearing selected files or removing specific files from the list of files currently selected by the control. **Describe alternatives you've considered** We have investigated custom JavaScript / Reflection to get at the internals of the control, but that feels dangerous and unnecessary. This feels like it should be a native feature of the control, especially when 'Auto' is set to false and the developer desires to give the user control over when the upload happens. **Additional context** I have prepared a PR which I will submit to this issue which adds this feature, and clears up a minor memory leak in the existing RazdenUpload control JavaScript.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#327