A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. 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.