Element comparsion (document type)

Cris Smith asked on July 2, 2014 04:11

Hello, I have a simple question. It is possible to compare items (one document type)? I mean, you may chceck three elements (created by custom document type) and display all their properties (field values) in one view? How to handle collection of checked elements and display them? I would be grateful for answer.

Recent Answers


Adam Gitin answered on July 2, 2014 07:20

Simplest way with no fancy coding would probably be to collect the the values you wish to compare, pass them as url parameters and then use them in the repeaters "colums" property.

1 votesVote for this answer Mark as a Correct answer

Cris Smith answered on July 2, 2014 07:46

Do you have any examples to do this? How to collect values (by transformations, scripts or something else?), pass them as URL and use it in repeaters column property?

0 votesVote for this answer Mark as a Correct answer

Martin Danko answered on October 1, 2014 17:23

Hello Cris,

For such a purpose I would recommend you to develop a Custom Module where you can use Kentico controls, e.g. DocumentSelector, then you will select the documents and in your custom mode you will handle the comparison... get the document, output their values and compare them, so you can e.g. highlight differences or so.

Best regards, Martin

0 votesVote for this answer Mark as a Correct answer

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