or try this
<%!! Context:CurrentPage.GetElementByName(anc_Page).Value[Int:0].Id !!%> On Monday, February 4, 2013 10:56:31 AM UTC-5, Jian Huang wrote: > > <%!! Context:CurrentPage.GetElementByName(anc_Page).Page.Id !!%> ?? > > By the way, Elements.GetElement is terrible for project performance. Best > to avoid whnever possible. > > Also, if the anc_Page references another anchor or list or container, then > the rendertag do not work. > > On Monday, February 4, 2013 10:50:38 AM UTC-5, Daniel Petroff wrote: >> >> So I was thinking of something like this: >> >> <%!! Context:CurrentPage.Elements.GetElement(anc_Page).Id !!%> - >> returns the GUID of the actual anchor and I need something between the ")" >> and ".Id" so that I get the GUID of the page attached (referenced) to the >> anchor instead. >> >> Hope it makes sense. :) >> >> Thanks! >> Daniel >> > -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
