How do i get niceurl instead of id in my repeater: <a href='<%# Eval("Id") %>' title="">Click here</a>
and how do i get the src colpleate url of my images: <img alt="" src="<%# ((umbraco.interfaces.INode)Container.DataItem).GetProperty("image").Value %>" />
link and image in repeater
How do i get niceurl instead of id in my repeater:
<a href='<%# Eval("Id") %>' title="">Click here</a>
and how do i get the src colpleate url of my images:
<img alt="" src="<%# ((umbraco.interfaces.INode)Container.DataItem).GetProperty("image").Value %>" />
Hi you could try changing
to
and for the image you could run a tes like this
ok but im not in a xsl file... im in a repeater itemtemplate i my usercontrol...
You can still call the method umbraco.library.NiceUrl() from a repeater. So you could do something like:
og hvordan får jeg GetMedia med på billederne?:
<img alt="" src="<%# ((umbraco.interfaces.INode)Container.DataItem).GetProperty("image").Value %>" />
is working on a reply...