Try Now
More in this section

tag Link

2 posts, 0 answered
  1. Bachar Zeidan
    Bachar Zeidan avatar
    67 posts
    01 Jul 2010
    05 Aug 2010
    Link to this post
    Hello everybody,
    I am working with TagsList, and I am searching a way to customize my Tags Url in my

    "tagsRepeaterCloud", i Have a "tagsRepeaterCloud"  with 10 tags and i like to know if exists a way to customize my Tags Link without setting the Back-end properties.

    thank you very much



  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    09 Aug 2010
    Link to this post
    Hello Bachar Zeidan,

    You can edit the control template for the TagsList control and subscribe to the item data bound event of the tags repeater. There you will get the link item and work with it. Fist map the template in your controls config file:
    <!--Provides user interface for displaying the list of tags for the content items.-->
    <viewSettings hostType="Telerik.Cms.Engine.WebControls.Tags.TagsList" layoutTemplatePath="~/Sitefinity/ControlTemplates/Generic_Content/TagsList.ascx" />

    Then edit it like this:
    <script type="text/C#" runat="server">
        protected void Page_Load()
            tagsRepeaterCloud.ItemDataBound += new RepeaterItemEventHandler(tagsRepeaterCloud_ItemDataBound);
        void tagsRepeaterCloud_ItemDataBound(object sender, RepeaterItemEventArgs e)
            if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
                HyperLink tagLink = (HyperLink)e.Item.FindControl("tagLink");
                if (tagLink != null)

    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered