Try Now
More in this section

Forums / General Discussions / Get Library Name into the Download List Template

Get Library Name into the Download List Template

2 posts, 0 answered
  1. Hector
    Hector avatar
    32 posts
    01 Oct 2013
    22 May 2015
    Link to this post
    Is it possible to get the library name where the documents are stored in the Download List widget? 
  2. Nikola Zagorchev
    Nikola Zagorchev avatar
    424 posts
    25 Oct 2016
    08 Jun 2015
    Link to this post
    Hello Hector,

    You can show the item library Title in the widget item template the following way:
    <sitefinity:TextField runat="server" DisplayMode="Read" Value='<%# Eval("Parent.Title")%>' />

    or using a simple Label:
    <asp:Label runat="server" ID="LibraryTitleLabel" Text='<%# Eval("Parent.Title")%>' />

    Hope this helps.

    Nikola Zagorchev
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered