How do I clear the content of the fileselect control?

1 Answer 57 Views
FileSelect
Rob
Top achievements
Rank 1
Iron
Iron
Rob asked on 02 Feb 2023, 02:15 PM

A user selects a file and then wishes to remove it.

How do I programmatically remove the content of the fileselect? I have tried binding without success.

Many thanks,

Rob

1 Answer, 1 is accepted

Sort by
0
Svetoslav Dimitrov
Telerik team
answered on 07 Feb 2023, 07:00 AM

Hello Rob,

We have an open feature request for the ClearFiles method, which is similar to what the Upload has. I have added your Vote for it and you can click the Follow button to receive email notifications on status updates. 

In the public thread, you can see a workaround for the time being.

Regards,
Svetoslav Dimitrov
Progress Telerik

Learn about the important changes coming in UI for Blazor 4.0 in January 2023!
Tags
FileSelect
Asked by
Rob
Top achievements
Rank 1
Iron
Iron
Answers by
Svetoslav Dimitrov
Telerik team
Share this question
or