Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Custom Table Repeater and Selected Item View modes: 
User avatar
Member
Member
Armysniper89 - 10/17/2011 3:25:22 PM
   
Custom Table Repeater and Selected Item
Is there some documentation or help on how to configure the custom table repeater to display a details transformation when a user clicks on an item? I can see where you can specify in the web part the transforrmation for selected and the way to identify it in query strings and such but I am stumped on how to implement properly.

Also, for the selected transformation, is there a way to change which one that is based on a field in the custom table?

User avatar
Member
Member
kentico_michal - 10/18/2011 2:58:41 AM
   
RE:Custom Table Repeater and Selected Item
Hello,

Unfortunately, the Custom table repeater uses QueryRepeater control which does not provide selected item transformation. It is caused by the fact that query repeater is not implicitly displaying documents from Kentico CMS.

You will need to develop this functionality by yourself. Basically you can inspire by standard CMSRepeater. At first, you could generate list of items using (standard) transformation. Then, you could create links so that they point to same page with some query string with information (e.g. ID) about selected item. Then in the code-behind you could add some code that would change the transformation to some other (that would represent "selected item transformation") when there is information about a selected item presented in query string. You may also need to change the query (or use where condition) in this case, so it displays only selected item.

Best regards,
Michal Legen