Getting ItemIndex in DataList

Mehrdad Babaki asked on February 26, 2015 08:53

I have a datalist in my page and I edited my transformation to show data. I need to have row number for my items in datalist. I was wondering if it is possible in Kentico DataList?

Correct Answer

Petar Kozjak answered on February 26, 2015 12:39


try using this in transformation: <%#DataItemIndex%>

1 votesVote for this answer Unmark Correct answer

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