More in this section

Tag Cloud

2 posts, 1 answered
  1. Shawn Davis
    Shawn Davis avatar
    81 posts
    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.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    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

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

    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.
2 posts, 1 answered