Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
<%#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.