Save file component

Hello.

I successfully use Upload component for saving file to my DB a varbinary. I already made code to get the saved file from DB to byte array. and send it back to frontend.

But I cannot find any component to display popup window to save the file on my local disk.

Is there any component for saving file to local disk?

Thanks.

Hi @ZdenekNovotny,

We don't have a component for saving files as this is a built-in browser feature. There are various ways to trigger this dialog - usually by navigating to a URL which returns the file contents. You can search online for examples how this is done. Here is one such thread: Download file in C# .Net Core - Microsoft Q&A

1 Like

Ok, thanks for answer korchev.