Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
<%#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.