Hi Walter, Nice work and thank you for sharing.
Was wondering if <%!! Context:CurrentMasterPage.Elements.GetElement(std_content_element).GetHtml() !! %> would work also. -Jian On Aug 9, 8:52 am, Walter <[email protected]> wrote: > I've learned so much by searching through all the archives on this group, so > I want to contribute with the solution to a problem that faced recently. In > the master page, I needed to access an element from the sub-page in the > target container. The following thread got me on the right > track:https://groups.google.com/d/topic/reddot-cms-users/2lXRvI6QfLs/discus... > > Here's what I did. > > - Create new info element for GUID of the page... > <%info_target_container_guid%> > - Make sure to check "use data of target container" > - Use the following render tag to grab whatever element in the target > container that you need: > <%!! > Context:Pages.GetPage(Guid:<%info_target_container_guid%>).Elements.GetElement(std_content_element).GetHtml() > !!%> > > It's simple, and might not be the best way, but it works. I like that it > doesn't require PreExecute. Hope that this helps somebody in the future. > > - Walter -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
