I am trying to pass an ID as a query string to another page. this is the hyper link code:
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='../request/inforequest.aspx?ID= + <%# Eval(ID) %>' Target='_BLANK' Text='Request a Showing' alt='Request a Showing' border='0'
CssClass="btn btn-primary"></asp:HyperLink>
This is the resulting url:
http://localhost:51378/request/inforequest.aspx?ID=%20+%20<%# Eval(ID) %>
It is passing the id, 20 is the correct value in this case but it only adds it where there are spaces, I dont understand what is happening here can someone please help?
+at the beginning?