Try Now

File Download Picker

by Steve
Publication date:
May 4, 2010, 17:37 PM


  • Sitefinity 3.7

Price: $ 0
File Download Picker controls is for documents only and has the following features:
  • Choose your files from a treeview pulling from your document libraries
  • Deleted files automatically stop showing up (no broken links)
  • Multiple high-res file format icons
  • Choose to order by Name, Modified Date, or Created Date
  • Tracks Download Clicks to the item from any page.  So for example if you had a reference to File1.doc on 10 pages, each click increments the download count on every page.
  • FAQ help built-into the control

Sitefinity CMS validated extension

  • Add the control to the toolbox node in the web.config
<add name="File Download" section="SitefinitySteve" url="~/usercontrols/FileDownload/FileDownload.ascx" description="File Download" />

  • Add Meta Data nodes
<add key="Libraries.Downloads" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue="0" />
<add key="Libraries.FileVersion" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="0" />
<add key="Libraries.UpdatedDate" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="0" />
  • Add an external template mapping to ~/App_Data/Configuration/Telerik.Sitefinity.Configuration.ControlsConfig.xml
<viewSettings hostType="Telerik.Libraries.WebControls.Admin.LibraryItemEdit" layoutTemplatePath="~/usercontrols/ExternalTemplates/Libraries/LibraryItemEdit.ascx" />

More information on mapping a view to External Templates in Sitefinity is available here.

Notes: No IE6 Support (Transparent Sprites) - Must have a Telerik.Web.UI with the RadListView