More in this section

Forums / Developing with Sitefinity / Filter in SingleNews

Filter in SingleNews

2 posts, 0 answered
  1. Kwinten Volckaert
    Kwinten Volckaert avatar
    41 posts
    01 Mar 2005
    15 Oct 2007
    Link to this post
    I wanted to use the next and previous url in the news item but I want to see only specific item. Namely only the ones with News as category.
    I put 'Category = "News"' in the filterexpression list but then I get no urls anymore... is this the wrong field?
  2. Pepi
    Pepi avatar
    981 posts
    31 Jan 2017
    15 Oct 2007
    Link to this post
    Hello Kwinten,

    The FilterExpression property is not properly set. It should be:

    Category ~ News

    ~ is used for LIKE operator (% is not supported)

    Hope this helps.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered