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

Posted by Community Admin on 03-Aug-2018 19:40

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

All Replies

Posted by Community Admin on 22-Aug-2011 00:00

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.

Posted by Community Admin on 23-Aug-2011 00:00

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 >>

This thread is closed