Download List Control - Download Link
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
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
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.
Hi,
Please how to get the above requirement....
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