More in this section

Forums / Developing with Sitefinity / Download list - bulk download

Download list - bulk download

2 posts, 0 answered
  1. andrew
    andrew avatar
    7 posts
    05 Jun 2008
    07 Oct 2009
    Link to this post
    Hello, I wanted to know if there is an easy way of adding a bulk download function to a download list?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    07 Oct 2009
    Link to this post
    Hello andrew,

    The default control does not support this functionality. You will need  a custom control that will allow you bulk download. You should create a custom control that uses RadGrid with AllowMultipleSelection property set to true. You will have a property of type Guid[] where you will save the IDs of all selected Content items ( documents) Outside of the Grid you will have a LinkButton control. When you click on this button you should get the IDs of each item from Guid array, call LibraryManager and force downloading the items by appending download=true to each link. Generally you need to implement custom control with group operation.

    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered