London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
<%#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.