More in this section

Forums / General Discussions / Search Content by More than one Tag

Search Content by More than one Tag

2 posts, 0 answered
  1. Nagendra
    Nagendra avatar
    28 posts
    07 Jun 2010
    06 Sep 2010
    Link to this post
    Hello All,

    I am using Sitefinity 3.x. I a,m able to search for content/articles by 1 tag with the following code:
    ContentManager manager = new ContentManager();
    string strTags = "MyTag1";
    IList list = manager.GetContent(0, 0, "Title DESC", strTags);

    But I wanted a method using which I can search for content by more than one tag.

    Also, I am using these methods in a web service to consume in some other application. I have seen couple of articles on the Forums but there is no such info.

    Please let me know a way for this.

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    06 Sep 2010
    Link to this post
    Hi Nagendra,

    There is no method that allow you to search by two tags. You can take a look at this forum post to find samples that shows how to do this.

    Sincerely yours,
    Ivan Dimitrov
    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