+1-888-365-2779
Try Now
More in this section

Tag Cloud

2 posts, 1 answered
  1. Shawn Davis
    Shawn Davis avatar
    81 posts
    Registered:
    13 Oct 2012
    07 Nov 2009
    Link to this post
    Is there a way to not display the "Display as: cloud | list"?

    I only want to use the cloud.

    Thanks,
    Shawn
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    08 Nov 2009
    Link to this post
    Hello Shawn Davis,

    You can map the external template - ~/Sitefinity/ControlTemplates/Generic_Content/TagsList.ascx and set Visible property to each of them

    <p>
        <asp:Literal ID="lblDisplayAs" runat="server" Text='<%$Resources:DisplayAs %>'></asp:Literal> :
        <asp:LinkButton ID="displayCloudLink" runat="server" Text='<%$Resources:Cloud %>'></asp:LinkButton> |
        <asp:LinkButton ID="displayListLink" runat="server" Text='<%$Resources:List %>'></asp:LinkButton>
    </p>

    Another option is creating a custom control that inherits from TagsList and implementing a new boolean type property. Then wrap the controls above in a panel and use the public property to set Visible value of the panel.

    All the best,
    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.
    Answered
2 posts, 1 answered