World is now on Opti ID! Learn more
AI OnAI Off
World is now on Opti ID! Learn more
<%#getintroimagetag()>
%#getintroimagetag()>
<%#GetIntroImageTag(Container.CurrentPage.PageLink.ID) %>
But I guess there should be a easier way to do it. Any clues?
Thank you.
]]>
dont forget the type for CurrentPage will be PageData... protected string GetIntroImageTag(PageData cp)
just in case it wasnt obvious...
GetIntroImageTag(Container.CurrentPage.PageLink)
Good to know that there is no other possibility to reach the "current news" from the codebehind.