Duplicate elements after clicking on a repeater list item

Maximiliano Herrera asked on November 23, 2016 14:04

Hi there,

I've an issue after clicking in repeater list item, I get two items in the detail page instead of one element. This repeater is for Booking elements and I've added the follow transformation: "Transformation" and "Selected item transformation". The "Selected item transformation" is applied but I get two elements in the page after apply this transformation. I tried to add a data list and instead of to get two elements after clicking on an element I get four. I'm new in Kentico maybe it is a configuration issue.

Below I detail the configuration for the repeater web part:

  • Content/Path:/Events/%
  • Content filter/Page types:CMS.BookingEvent
  • Content filter/Category name:{%SiteContext.CurrentCategory.CategoryName#%}

Do you have any idea about what can be the problem?
If you need more information please let me know and I'll send you.

Thanks very much in advance,
Best regards,
Max

Recent Answers


Adam Gitin answered on November 23, 2016 14:24 (last edited on November 23, 2016 14:43)

Does your BookingEvent page inherit the main page template (where the repeater is)?

Also, just make sure you populated the Selected item transformation" and not "Alternating transformation" :)

3 votesVote for this answer Mark as a Correct answer

Roman Hutnyk answered on November 23, 2016 14:45

No need to post question here and @ stack overflow - devnet pulls all Kentico related questions from stack overflow.

See my answer there.

2 votesVote for this answer Mark as a Correct answer

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