I am trying to include the value returned by the databinder value in the navigate URL of a hyperlink
I am trying to use the following but keep getting errors
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/viewer.aspx?Rec_ID=<%# DataBinder.Eval(Container.DataItem, "Rec_ID")%>">"Read More</asp:HyperLink>
I'm not sure what I am missing but would appreciate any help anybody can give. I keep getting a 'server tag not well formed' error.