Download List Control - Download Link

Posted by Community Admin on 04-Aug-2018 11:31

Download List Control - Download Link

All Replies

Posted by Community Admin on 09-Mar-2012 00:00

Hi,
I am using sitefinity 4.4.
I have created a library in images & Document and i am using download list control to list the requried documents.
Whenever i clicked on 'Download' link, the document gets open(pdf document). But i want the 'Open Dialog' to be appear and allow user to save the document.
How to get this functionlity with 'Download List Control'.

Thanks & Regards,
Shalaka

Posted by Community Admin on 13-Mar-2012 00:00

Hi Shalaka,

The default behavior of Sitefinity would be to open the pdf for download. Make sure that you aren't using a pdf plugin (Adobe plugin for example), which modifies this behavior of the browser and causes your pdfs to open in it.

Kind regards,
Jen Peleva
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 14-Mar-2012 00:00

Hi,
Thanks for your reply.
i tried by disabling the pdf plugins, but still the pdf document is opeining in a new page.
I tried by attaching a normal text document,it is not showing the 'open dialog' box. Only .xls file is showing the dialog box.
Is there any other setting that i can check/set?

Thanks & Regards,
Shalaka P. Sawant.

Posted by Community Admin on 16-Mar-2012 00:00

Hi,
Please how to get the above requirement....

Posted by Community Admin on 20-Mar-2012 00:00

Hello Shalaka P. Sawant,

Please note this behavior does not relate directly to Sitefintiy, as it's your current browser and server settings that determine how a diiferent file type download will be handled. If you insist on making sure that your files always propt the Save As... dialog instead of opening in borwser, if the borwser's capable fo doing this, I'd recommend you to take a look at the discussion in this article on ASP.NET forums:
 forums.asp.net/.../1
For our DownloadList control we use Repeater or RadGrid, so you can hook up to the link's OnClick event and apply similar solution to the one outlined in the discussion.


Greetings,
Boyan Barnev
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed