Let's say I have a repeater with the code:
<ItemTemplate>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%#DataBinder.Eval(Container.DataItem, "FileLeafRef")%>'>
<h2><%# DataBinder.Eval(Container.DataItem, "Title")%></h2>
</asp:HyperLink>
</ItemTemplate>
The FileLeadRef variable only contains the page name though (like test.aspx and not the full URL which I need). I can get the first part of the URL in a variable in page_load so I need to do something like:
NavigateUrl='<%myVariable + "/"%><%#DataBinder.Eval(Container.DataItem, "FileLeafRef")%>' but it obviously doesn't work and a have tried a few varieties without success.
Any suggestions?
Thanks in advance.