Hide Download Window

0 Answers 58 Views
FileExplorer
Michel
Top achievements
Rank 1
Michel asked on 02 May 2023, 08:52 AM | edited on 02 May 2023, 08:57 AM

Hello,

I am trying to implement the Amazon S3 FileBrowserContentProvider to download file from S3 bucket using the function (ForceDownlodFile)

The file gets downloaded properly upon fileclick the RadWindow is opened and the file gets downloaded.

How to hide the RadWindow from code-behind?

 

Thanks

Michel

Rumen
Telerik team
commented on 02 May 2023, 10:55 AM

Hi Michel,

The following demo https://demos.telerik.com/aspnet-ajax/fileexplorer/examples/applicationscenarios/filteranddownloadfiles/defaultcs.aspx shows how to directly download the clicked files without showing the RadWindow-based dialog. 

Another way is to preview the image files like in this demo https://demos.telerik.com/aspnet-ajax/fileexplorer/examples/server-sideapi/dbfilebrowsercontentprovider/defaultcs.aspx. Note that the EnableFileOpen property has been disabled for this example, because opening the handler.ashx in a new window always forces the browser to download the image, instead of displaying it.

No answers yet. Maybe you can help?

Tags
FileExplorer
Asked by
Michel
Top achievements
Rank 1
Share this question
or