Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
<?xml:namespace prefix = episerver/><episerver:pagelist runat="server" pagelink="<%#CurrentPage.PageLink%">> <ITEMTEMPLATE><A href="<%# Container.CurrentPage.LinkURL %>" target="<%# Container.CurrentPage[" orgurl="<%# Container.CurrentPage.LinkURL %>" pagetargetframe="] %>"><![CDATA[<%# Container.CurrentPage["SomeImageProperty"] %>]]></A> </ITEMTEMPLATE></episerver:pagelist>
/Steve
I have a question about the Container.CurrentPage.LinkURL value. Will this value be handled by the FriendyUrlRewriteProvider? If this is the case, how come? Will this happen because the LinkURL is used inside a PageList that's being databinded?
Regards / Christoffer
The LinkURL renders the friendly url by itself in v4. In v5, this is handled by EPiServer in the page.Filter event, where all urls will be "friendlyfied" :-)
/Steve
>
while this code render the link as it is supposed, but does not (naturally) handle the target imformation from epi:> <%# container.currentpagesomeimageproperty>
So... how do I combine the functionality of these two?