2
Answers

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

Vishal Singh

Vishal Singh

8y
293
1

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)