1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Download List Control - Download Link

Download List Control - Download Link

5 posts, 0 answered
  1. Shalaka
    Shalaka avatar
    50 posts
    Registered:
    24 Mar 2011
    09 Mar 2012
    Link to this post
    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
  2. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    13 Mar 2012
    Link to this post
    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
  3. Shalaka
    Shalaka avatar
    50 posts
    Registered:
    24 Mar 2011
    14 Mar 2012
    Link to this post
    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.
  4. Shalaka
    Shalaka avatar
    50 posts
    Registered:
    24 Mar 2011
    16 Mar 2012
    Link to this post
    Hi,
    Please how to get the above requirement....

  5. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    16 Aug 2017
    20 Mar 2012
    Link to this post
    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:
     http://forums.asp.net/t/1381007.aspx/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
5 posts, 0 answered