More in this section

Forums / General Discussions / How to modify the 'Download List' to add a title

How to modify the 'Download List' to add a title

2 posts, 0 answered
  1. Dan Sorensen
    Dan Sorensen avatar
    256 posts
    Registered:
    13 Aug 2010
    22 Aug 2011
    Link to this post
    Is there a way to modify the 'Download List' widget to optionally include the title of the library? (or an editor entered string as a title? It feels wrong to include a 'content item' above each download list to explain what the list of files is for.
  2. Veronica
    Veronica avatar
    125 posts
    Registered:
    30 Jan 2015
    23 Aug 2011
    Link to this post
    Hi Dan,

    Yes, you can include the library in the "Download List" widget by adding new field in the widget template. For example if you choosed a "Table" type for the widget:



    You can go to Design -> Widget Templates from the Navigation menu and choose "Table of documents for direct download". The template will apply and you can add your custom GridBoundColumn to the Grid to show libraries next to the documents. For example:
    <telerik:GridBoundColumn UniqueName="library" HeaderText="<%$ Resources:Labels, DocumentLibrary %>" DataField="Library" ItemStyle-CssClass="sfdownloadTitle" HeaderStyle-CssClass="sfdownloadTitle" />           

    Hope this helps.

    All the best,
    Veronica Milcheva
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

2 posts, 0 answered