Class active on menu repeater.

callam woolgar asked on November 10, 2016 12:10

Hi guys,

I have a repeater repeating through a group of pages to create a menu and I want to set the page that you're on as active. http://imgur.com/a/yY2KN That is what I'm trying at the moment and I have checked the 2 values and they're both the same however it still doesn't set active at all. Can anyone suggest another way of doing it?

many thanks, Callam.

Correct Answer

Roman Hutnyk answered on November 10, 2016 14:19

Have you tried <%# IsCurrentDocument() %>?

More details here

0 votesVote for this answer Unmark Correct answer

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