Oli Jeffery
-
5/15/2012 9:09:02 AM
Using MenuItem fields in transformations in repeaters
Is it possible to grab a custom field from a MenuItem (in this case MenuItemCategory) and use it in a custom function on a transformation of a repeater on that page? The repeater displays the document type custom.keycontact and the documents it’s referencing are not directly below the page (as several pages will be referencing them) so I can’t use NodeParentID.
Specifically, in the below bit of code, “Renewables” should be replaced with whatever the MenuItemCategory is on the page containing the Repeater.
<%# BishopFlemingFunctions.MultipleProfiles(""+ Eval("contactMultiple") +"", "Renewables") %>
Can this be achieved?
|