Vishal Singh

Vishal Singh

  • NA
  • 12
  • 9k

using server variables in a href <%= xx %> with runat=server

Mar 29 2016 1:14 AM

When I use an anchor tag on an aspx page as below,

<a href="<%= ResolveUrl("~/pages/page.aspx") + "?id=" + ServervariableName %>"> test </a>

i need to know where i need to declare pasting ServervariableName  in codebehind  


Answers (2)