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
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.