More in this section

Forums / Developing with Sitefinity / How i know the Id of Tag that is filtering in Telerik.News.WebControls.NewsView?

How i know the Id of Tag that is filtering in Telerik.News.WebControls.NewsView?

2 posts, 1 answered
  1. xax_007
    xax_007 avatar
    55 posts
    Registered:
    24 Jul 2009
    18 Jan 2010
    Link to this post

    Hello Telerik Team,

    This is my problem:

    How i know the Id of Tag that is filtering in Telerik.News.WebControls.NewsView?

    I have my Custom Control inherit of Telerik.News.WebControls.NewsView but i need do a tag filter ... where is the id of tag is filtering?

    Thanks
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    18 Jan 2010
    Link to this post
    Hi xax_007,

    You can add/read the tag ID as a QueryString to the url (news.aspx?NewsTagID=712f66e3-5bab-47e0-8afe-7b57b75a912f). Then your custom control will get the NewsTagID QueryString value and pass it to the ContentFilterBuilder instance.

    Best wishes,
    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