Check items count in Repeater

Vasyl Chepil asked on April 7, 2016 12:35

In Repeater Content after i need to check items count for this Repeater and if it is more than 2 i need to show some text

{% if (DataItemCount > 2) {"More than two"} #%}

i tried code above but it didn't work

what i'm doing wrong?

Correct Answer

Vasyl Chepil answered on April 7, 2016 13:16

Sorry this code works good problem was in another place

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.