How do I add all url params to a link on a aspx page directly (i.e. not using the code behind)?
Something like this:
<a href="apage.aspx<%# Eval(Request.Url.Query) %>">a link</a>
cheers
monkey
How do I add all url params to a link on a aspx page directly (i.e. not using the code behind)?
Something like this:
<a href="apage.aspx<%# Eval(Request.Url.Query) %>">a link</a>
cheers
monkey
This should work:
<a href=“apage.aspx<%=Request.Url.Query %>”>a link</a>